Merge "sync_guest_time: use the proper errno"
This commit is contained in:
commit
422b983124
|
@ -128,6 +128,7 @@ VIR_ERR_NO_NODE_DEVICE = 667
|
|||
VIR_ERR_NO_SECRET = 66
|
||||
VIR_ERR_AGENT_UNRESPONSIVE = 86
|
||||
VIR_ERR_ARGUMENT_UNSUPPORTED = 74
|
||||
VIR_ERR_OPERATION_UNSUPPORTED = 84
|
||||
# Readonly
|
||||
VIR_CONNECT_RO = 1
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ class Guest(object):
|
|||
if code == libvirt.VIR_ERR_AGENT_UNRESPONSIVE:
|
||||
LOG.debug('Failed to set time: QEMU agent unresponsive',
|
||||
instance_uuid=self.uuid)
|
||||
elif code == libvirt.VIR_ERR_NO_SUPPORT:
|
||||
elif code == libvirt.VIR_ERR_OPERATION_UNSUPPORTED:
|
||||
LOG.debug('Failed to set time: not supported',
|
||||
instance_uuid=self.uuid)
|
||||
elif code == libvirt.VIR_ERR_ARGUMENT_UNSUPPORTED:
|
||||
|
|
Loading…
Reference in New Issue