Skip to content

Commit

Permalink
#12: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Feb 13, 2024
1 parent 7d2207e commit f937c73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions libqmpbackup/qmpcommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ async def remove_target_devices(self, devices):
operation"""
self.log.info("Cleanup added backup target devices")
for device in devices:
if device.backing_image is True:
continue
targetdev = f"qmpbackup-{device.node}"

await self.qmp.execute(
Expand Down
2 changes: 1 addition & 1 deletion t/runtest
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ qemu-system-x86_64 -name "testvm" $KVMOPT -smp "$(nproc)" -daemonize -display no
-chardev socket,path=$AGENT_SOCKET,server=on,wait=off,id=qga0 \
-device virtio-serial \
-device "virtserialport,chardev=qga0,name=org.qemu.guest_agent.0" \
-drive id=OpenCoreBoot,if=none,format=qcow2,snapshot=on,file=/tmp/snapshot.qcow2 \
-drive id=snapshot,if=none,format=qcow2,snapshot=on,file=/tmp/snapshot.qcow2 \
-pidfile ${PIDFILE}

# wait until qemu agent is reachable within booted Vm, then continue
Expand Down

0 comments on commit f937c73

Please sign in to comment.