Skip to content

Commit 63560b7

Browse files
committed
driver/qemudriver: add drive interface kernel boot parameters to Q35 machine
Signed-off-by: Emil Kronborg Andersen <emil.kronborg@protonmail.com>
1 parent 7609cd9 commit 63560b7

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)