Skip to content

skip -bios when IGVM supplies guest firmware#4357

Open
bssrikanth wants to merge 1 commit intoavocado-framework:masterfrom
bssrikanth:igvm_bios
Open

skip -bios when IGVM supplies guest firmware#4357
bssrikanth wants to merge 1 commit intoavocado-framework:masterfrom
bssrikanth:igvm_bios

Conversation

@bssrikanth
Copy link
Copy Markdown

Only insert the -bios StrDev when bios_path is set and enable_igvm is not yes.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies virttest/qemu_vm.py to prevent the inclusion of the -bios parameter when IGVM is enabled, avoiding potential firmware conflicts. A review comment suggests using get_boolean for the enable_igvm parameter to more robustly handle various truthy values like "on" or "true" instead of a strict string comparison with "yes".

Comment thread virttest/qemu_vm.py Outdated
Only insert the -bios StrDev when bios_path is set and enable_igvm is
not yes.

Signed-off-by: Srikanth Aithal <srikanth.aithal@amd.com>
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