Skip to content

Conversation

@Willmish
Copy link
Contributor

* On some version of qemu, older version of virtIO MMIO are used by
  default, causing the blk example to crash. qemu_virt_aarch64 already
has that fix and both platforms use correct arguments when ran with zig
build system.
* See: https://gitlab.com/qemu-project/qemu/-/issues/1342#note_2869925359

Signed-off-by: Szymon Duchniewicz <[email protected]>
@Willmish
Copy link
Contributor Author

blk example was failing to run when ran through the qemu command with args from the make build system, when running on
QEMU emulator version 10.1.2

Alternatively, both args can be moved to QEMU_BLK_ARGS similar to how build.zig handles it: https://github.com/au-ts/sddf/blob/main/examples/blk/build.zig#L357 (Some other drivers/examples might require this argument though? GPU?)

@Ivan-Velickovic
Copy link
Collaborator

The examples are probably better for this rather than the board specific options, however it's unlikely anyone would use the boards while also wanting legacy virtIO.

@Ivan-Velickovic Ivan-Velickovic merged commit 7ea215c into main Jan 15, 2026
14 checks passed
@Ivan-Velickovic Ivan-Velickovic deleted the szymon/fix_run_qemu_blk branch January 15, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants