]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Tolerate missing @qemuCaps in virQEMUCapsGetCanonicalMachine
authorPeter Krempa <pkrempa@redhat.com>
Wed, 16 Aug 2017 13:37:18 +0000 (15:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 18 Aug 2017 13:07:44 +0000 (15:07 +0200)
commit9088d42da19a093ec15a5310006684f1ad6e6100
tree476a0b5e349c1c56f207791ea6a8deb987c3891f
parent7c5cf4983c8010c4ed5f8c7b4cfaefd230487feb
qemu: capabilities: Tolerate missing @qemuCaps in virQEMUCapsGetCanonicalMachine

If qemuCaps are not present, just return the original machine type name.

This will help in situations when qemuCaps is not available in the post
parse callback.
src/qemu/qemu_capabilities.c