]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Check if virQEMUCapsNewCopy(...) has failed
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Thu, 9 Feb 2017 14:13:35 +0000 (15:13 +0100)
committerLaine Stump <laine@laine.org>
Thu, 9 Feb 2017 19:08:00 +0000 (14:08 -0500)
commit62b2c2fcdd39accc23f03e262695b863866dafb0
tree9172b2a2ca70dbadc44246894937cd3512a65864
parent728c0e5df47b1d6528d6e2191bf974504bfc7a18
qemu: Check if virQEMUCapsNewCopy(...) has failed

Check if virQEMUCapsNewCopy(...) has failed, thus a segmentation fault
in virQEMUCapsFilterByMachineType(...) will be avoided.

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
src/qemu/qemu_capabilities.c