mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
qemuBlockReopenAccess: Add debug log entry about state of the image
Log the node name and current and expected state to simplify debugging. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
c4d6bd3bf5
commit
b510f8ca8a
@ -3174,6 +3174,10 @@ qemuBlockReopenAccess(virDomainObj *vm,
|
||||
int rc;
|
||||
int ret = -1;
|
||||
|
||||
VIR_DEBUG("nodename:'%s' current-ro:'%d requested-ro='%d'",
|
||||
qemuBlockStorageSourceGetEffectiveNodename(src),
|
||||
src->readonly, readonly);
|
||||
|
||||
if (src->readonly == readonly)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user