Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu: add deviceExtraArgs option for devices #325

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

vunnyso
Copy link
Contributor

@vunnyso vunnyso commented Jan 24, 2025

This option could be useful in case we may need to pass any extra arguments to pci device.
For example:
-device vfio-pci,host=x,multifunction=on,id=hostId,x-igd-opregion=on

@vunnyso
Copy link
Contributor Author

vunnyso commented Jan 24, 2025

@astro please help to review.

@vunnyso
Copy link
Contributor Author

vunnyso commented Jan 28, 2025

Rebased.

vunnyso added a commit to tiiuae/dev-team-sandbox that referenced this pull request Jan 28, 2025
vunnyso added a commit to tiiuae/dev-team-sandbox that referenced this pull request Jan 28, 2025
nixos-modules/microvm/options.nix Outdated Show resolved Hide resolved
lib/runners/qemu.nix Outdated Show resolved Hide resolved
This option could be useful in case we may need to
pass any extra arguments to pci device.
For example:
-device vfio-pci,host=x,multifunction=on,id=hostId,x-igd-opregion=on

Signed-off-by: Vunny Sodhi <[email protected]>
vunnyso added a commit to tiiuae/dev-team-sandbox that referenced this pull request Jan 31, 2025
vunnyso added a commit to tiiuae/dev-team-sandbox that referenced this pull request Jan 31, 2025
@astro astro merged commit bcabdff into astro:main Feb 1, 2025
51 checks passed
@astro
Copy link
Owner

astro commented Feb 1, 2025

Thanks

@vunnyso vunnyso mentioned this pull request Feb 3, 2025
19 tasks
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.

2 participants