diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-09-29 21:39:11 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-30 17:11:53 +0100 |
commit | 354ac20a36a82a5ee09b0a6c8ba8655358a7597f (patch) | |
tree | 1728b384c00b412a329179b72fc5f3bc69c90e06 /target-microblaze | |
parent | e97c363638b32943afc4bd2845f4081496fabfbc (diff) |
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 <paulus@samba.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
agraf: fix to use memory api
Diffstat (limited to 'target-microblaze')
0 files changed, 0 insertions, 0 deletions