Skip to content

Conversation

JSydll
Copy link

@JSydll JSydll commented Oct 6, 2025

Description

Two minor features are added to the QemuDriver:

Support machine-specific options (e.g. -machine virt,secure=on)

While raising an exception for unsupported machines/boards is reasonable, adding machine-specific options shall not break the parsing. Therefore, the check is adjusted to only account for the leading board name.

Support interactions with the QEMU instance via QMP before releasing CPU(s)

Especially for bad case testing, it can be useful to be able to interact with the prepared but not yet spun off instance - e.g. to corrupt the boot medium without the need to build a corrupted image only for that purpose.

For both features, straight forward unit tests are provided.
Lastly, the changeset includes minor documentation updates and the introduction of type hints for the qemudriver.py file.

Checklist

  • Documentation for the feature
  • Tests for the feature
  • PR has been tested

@JSydll JSydll requested a review from krevsbech as a code owner October 6, 2025 04:58
@JSydll JSydll force-pushed the qemudriver/support-extended-test-scenarios branch from 680d6cd to 6d45393 Compare October 6, 2025 04:58
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.

1 participant