Re: [PATCH v3 3/5] qemu: Use VIR_ERR_DEVICE_MISSING for various hotplug messages

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

 




On 01/22/2018 11:24 PM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao@xxxxxxxxx>
> 
> Modify OPERATION_FAILED error codes to use DEVICE_MISSING instead.

I'll modify this one to:

Modify OPERATION_FAILED and INTERNAL_ERROR error codes to use
DEVICE_MISSING instead for failures associated with the inability to
find the device. This makes it easier for consumers to key off the error
code rather than the error message.

No need to post another series - just let me know if you're fine with
the adjusted text...

> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxx>
> ---
> v3:
>   modify virDomainNetFindIdx to use VIR_ERR_DEVICE_MISSING
> 
>  src/conf/domain_conf.c  |  8 ++++----
>  src/qemu/qemu_hotplug.c | 24 ++++++++++++------------
>  2 files changed, 16 insertions(+), 16 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John

--
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