On 01/22/2018 11:24 PM, Chen Hanxiao wrote:
From: Chen Hanxiao <chenhanxiao(a)gmail.com>
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(a)gmail.com>
---
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(a)redhat.com>
John