Skip to content

Commit

Permalink
Merge pull request autotest#5498 from smitterl/log_virsh_edit
Browse files Browse the repository at this point in the history
virsh_edit: add logs
  • Loading branch information
chunfuwen authored Mar 8, 2024
2 parents 5202d42 + 13aa591 commit e17930d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libvirt/tests/src/virsh_cmd/domain/virsh_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ def edit_vcpu(source):
dic_mode["recover"]])
else:
status = libvirt.exec_virsh_edit(vm_name, [dic_mode["recover"]])
logging.info(status)
vmxml.sync()
if status and new_vcpus != expected_vcpu:
logging.debug("new_vcpus, expected_vcpu: %s, %s", new_vcpus, expected_vcpu)
return False
return status

Expand Down

0 comments on commit e17930d

Please sign in to comment.