Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ New Features in 0.5.0
- `DFUDriver` has been added to communicate with a `DFUDevice`, a device in DFU
(Device Firmware Upgrade) mode.
- ``labgrid-client dfu`` added to allow communcation with devices in DFU mode.
- Support for QEMU Q35 machine added.

Bug fixes in 0.5.0
~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 4 additions & 0 deletions labgrid/driver/qemudriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def on_activate(self):
self._cmd.append(
f"if=sd,format={disk_format},file={disk_path},id=mmc0")
boot_args.append("root=/dev/mmcblk0p1 rootfstype=ext4 rootwait")
if self.machine == "q35":
self._cmd.append("-drive")
self._cmd.append(
f"format={disk_format},file={disk_path}")
elif self.machine == "pc":
self._cmd.append("-drive")
self._cmd.append(
Expand Down