]> git.ipfire.org Git - thirdparty/libvirt.git/commit
capabilities: Advertise cpuselection if -cpu host is usable
authorJiri Denemark <jdenemar@redhat.com>
Wed, 13 Apr 2016 07:06:23 +0000 (09:06 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 May 2016 08:42:28 +0000 (10:42 +0200)
commitced1e846a03bf56fb45bb3ef67da97f6ba1fc5c5
tree7167112aea72e76ecd3249bf4465618e7723c883
parent15225031898686e854d351ac85323476bdc23289
capabilities: Advertise cpuselection if -cpu host is usable

When -cpu host is supported by a QEMU binary, a user can use
<cpu mode='host-passthrough'/> in domain XML even when libvirtd failed
to find a matching model for the host CPU. Let's make it obvious by
advertising <cpuselection/> guest capability whenever -cpu host is
supported.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
tests/qemucaps2xmldata/all_1.6.0-1.xml
tests/qemucaps2xmldata/nodisksnapshot_1.6.0-1.xml