summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Graf2011-08-10 13:57:08 +0200
committerAvi Kivity2011-09-25 18:52:27 +0200
commitaf8f38b3499f0d4a3c354df2435f0fb2dded250a (patch)
tree129cf6f362fb623c80f8c2aa89c6fb3030b04c8d /include
parentKVM: PPC: Enable the PAPR CAP for Book3S (diff)
downloadkernel-qcow2-linux-af8f38b3499f0d4a3c354df2435f0fb2dded250a.tar.gz
kernel-qcow2-linux-af8f38b3499f0d4a3c354df2435f0fb2dded250a.tar.xz
kernel-qcow2-linux-af8f38b3499f0d4a3c354df2435f0fb2dded250a.zip
KVM: PPC: Add sanity checking to vcpu_run
There are multiple features in PowerPC KVM that can now be enabled depending on the user's wishes. Some of the combinations don't make sense or don't work though. So this patch adds a way to check if the executing environment would actually be able to run the guest properly. It also adds sanity checks if PVR is set (should always be true given the current code flow), if PAPR is only used with book3s_64 where it works and that HV KVM is only used in PAPR mode. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions