]> git.proxmox.com Git - mirror_qemu.git/commit
PPC: KVM: Use vm check_extension for pv hcall
authorAlexander Graf <agraf@suse.de>
Mon, 14 Jul 2014 17:17:35 +0000 (19:17 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:51 +0000 (12:50 +0200)
commit6fd33a750214a866772dd77573cfa24c27ad956d
treeff8d9d662a05e9301266a60b1281ab4195b77573
parent7d0a07fa926436baf1238dcf68a55ea96cf5b9ab
PPC: KVM: Use vm check_extension for pv hcall

To find out whether we support the KVM hypercall interface we need to ask KVM
on the VM level rather than the global KVM level, because Book3S HV KVM does
not support it and we play conservative when both HV and PR are loaded.

So instead, use the VM helper that falls back to global KVM enumeration. That
should cover all cases.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/kvm.c