]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONDelDevice: Return -2 on DeviceNotFound error
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Mar 2019 07:46:37 +0000 (08:46 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 15 Mar 2019 12:45:34 +0000 (13:45 +0100)
commit229a0358f0678d414b765e533b53c74e40d5189c
treea6f2e866357ab979e36cccb26b27e3de5812fa2e
parent4cd13478ac331f5e42c926d4f2111dd89d2970a6
qemuMonitorJSONDelDevice: Return -2 on DeviceNotFound error

A caller might be interested in differentiating the cause for
error, especially if DeviceNotFound error occurred.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c