]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use VIR_ERR_DEVICE_MISSING for various coldplug messages
authorChen Hanxiao <chenhanxiao@gmail.com>
Tue, 23 Jan 2018 04:24:45 +0000 (12:24 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 1 Feb 2018 12:17:01 +0000 (07:17 -0500)
commit2f54eab7c7c618811de23c60a51e910274cf30de
tree653ff1883ae424ef6524f6784a0440c97dbe84e9
parent126db34a81bc9f9f9710408f88cceaa1e34bbbd7
qemu: Use VIR_ERR_DEVICE_MISSING for various coldplug messages

Use the DEVICE_MISSING error code when helpers fail to find
the requested device. This makes it easier for consumers to
key off the error code rather than the error message.

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_driver.c