« Previous | Next » 

Revision 354ac20a

ID354ac20a36a82a5ee09b0a6c8ba8655358a7597f

Added by David Gibson over 12 years ago

pseries: Allow KVM Book3S-HV on PPC970 CPUS

At present, using the hypervisor aware Book3S-HV KVM will only work
with qemu on POWER7 CPUs. PPC970 CPUs also have hypervisor
capability, but they lack the VRMA feature which makes assigning guest
memory easier.

In order to allow KVM Book3S-HV on PPC970, we need to specially
allocate the first chunk of guest memory (the "Real Mode Area" or
RMA), so that it is physically contiguous.

Sufficiently recent host kernels allow such contiguous RMAs to be
allocated, with a kvm capability advertising whether the feature is
available and/or necessary on this hardware. This patch enables qemu
to use this support, thus allowing kvm acceleration of pseries qemu
machines on PPC970 hardware.

Signed-off-by: Paul Mackerras <>
Signed-off-by: David Gibson <>
Signed-off-by: Alexander Graf <>


agraf: fix to use memory api

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences