Skip to content

Commit 153362a

Browse files
authored
Merge pull request #970 from Bastian-Krause/bst/qemu-disk-vexpress
driver/qemudriver: fix disk attribute for vexpress-a9 machine
2 parents 6ad1d66 + 0230fd5 commit 153362a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/driver/qemudriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def on_activate(self):
121121
self._cmd.append(
122122
f"if=sd,format={disk_format},file={disk_path},id=mmc0")
123123
boot_args.append("root=/dev/mmcblk0p1 rootfstype=ext4 rootwait")
124-
if self.machine == "q35":
124+
elif self.machine == "q35":
125125
self._cmd.append("-drive")
126126
self._cmd.append(
127127
f"if=virtio,format={disk_format},file={disk_path}")

0 commit comments

Comments
 (0)