Skip to content

Commit d0fc794

Browse files
authored
Merge pull request #964 from EmilKronborg/q35-boot-args
driver/qemudriver: add drive interface and kernel boot parameters
2 parents 7609cd9 + 63560b7 commit d0fc794

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labgrid/driver/qemudriver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def on_activate(self):
124124
if self.machine == "q35":
125125
self._cmd.append("-drive")
126126
self._cmd.append(
127-
f"format={disk_format},file={disk_path}")
127+
f"if=virtio,format={disk_format},file={disk_path}")
128+
boot_args.append("root=/dev/vda rootwait")
128129
elif self.machine == "pc":
129130
self._cmd.append("-drive")
130131
self._cmd.append(

0 commit comments

Comments
 (0)