]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Memory locking is only required for KVM guests on ppc64
authorAndrea Bolognani <abologna@redhat.com>
Wed, 29 Jun 2016 08:22:32 +0000 (10:22 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 4 Jul 2016 08:46:27 +0000 (10:46 +0200)
commitcd89d3451b8efcfed05ff1f4a91d9b252dbe26bc
treece079cff98f2f9f429873121e8bd029ccde4bf97
parent155200f115635a3cbe2af041964274d4be73e349
qemu: Memory locking is only required for KVM guests on ppc64

Due to the way the hardware works, KVM on ppc64 always requires
memory locking; however, that is not the case for non-KVM ppc64
guests, eg. ppc64 guests that are running on x86_64 with TCG.

Only require memory locking for ppc64 guests if they are using
KVM or, as it's the case for all architectures, they have host
devices assigned using VFIO.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1350772
src/qemu/qemu_domain.c