]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: virt-host-validate: improve error handling
authorBjoern Walk <bwalk@linux.vnet.ibm.com>
Tue, 3 May 2016 06:10:53 +0000 (08:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 May 2016 14:30:30 +0000 (16:30 +0200)
commitefc23df2513a6ec93d1b77bac2eeb8b2681f243e
treeffe20bd4449da2c278d830f24c5538b1cb7755b1
parent6391012852c1eb18e7639b6a03d9b5e0deabf469
tools: virt-host-validate: improve error handling

When virHostValidateCPUFlag returns NULL, that's more an unexpected
error than the sign of missing CPU flags. Let's react to this
appropriately.

Signed-off-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
tools/virt-host-validate-qemu.c