[PATCH v2 0/2] qemu_hotplug: introduce VIR_ERR_DEVICE_MISSING for failing to find the desired device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We used VIR_ERR_OPERATION_INVALID for failing to find the desired
device.
But this error code is widely used.
This brings troubles to the project(i.e nova) powered by libvirt,
they had to analyze error messages to find out what
had happened.

Chen Hanxiao (2):
  qemu_hotplug: more proper error messages when target detaching device
    is not found
  qemu_hotplug: introduce VIR_ERR_DEVICE_MISSING for failing to find
    desired device

 include/libvirt/virterror.h |  1 +
 src/libvirt_private.syms    |  2 ++
 src/qemu/qemu_hotplug.c     | 54 +++++++++++++++++++++++++++++----------------
 src/util/virerror.c         |  6 +++++
 4 files changed, 44 insertions(+), 19 deletions(-)

-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux