]> git.proxmox.com Git - mirror_qemu.git/commit
target-ppc/kvm: Add a wrapper function to check for KVM-PR
authorThomas Huth <thuth@redhat.com>
Thu, 29 Sep 2016 10:48:06 +0000 (12:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 5 Oct 2016 00:05:28 +0000 (11:05 +1100)
commit96c9cff0ab986f3a0606e1a96c5b00e6a7c675c6
tree51de451afd18e7e0c0f993ce4a0e6e09abbf376a
parent835c42d34e0547180babaee7036c532a0e6977d7
target-ppc/kvm: Add a wrapper function to check for KVM-PR

It makes more sense if we have a proper function to check
for KVM-PR than to check for the GET_PVINFO extension all
over the place.

Signed-off-by: Thomas Huth <thuth@redhat.com>
[dwg: Expanded a comment to discourage overuse of this function]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/kvm.c