]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Make virHostCPUGetKVMMaxVCPUs() errors fatal
authorAndrea Bolognani <abologna@redhat.com>
Mon, 27 Jun 2016 11:53:43 +0000 (13:53 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 11 Jul 2016 09:12:52 +0000 (11:12 +0200)
commit4074a82c0cc128003864208e22a42993083d0e04
treecf0199d0e600a59105ea22b977b3d074c40b6ec6
parent1addfa33005b9e1a1c41edcd2c9830bd360db6f5
qemu: capabilities: Make virHostCPUGetKVMMaxVCPUs() errors fatal

An error in virHostCPUGetKVMMaxVCPUs() means we've been unable
to access /dev/kvm, or we're running on a platform that doesn't
support KVM in the first place.

If that's the case, we shouldn't ignore the error and report
domcapabilities even though we know the user won't be able to
start any KVM guest.
src/qemu/qemu_capabilities.c