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

HyperV tool improvements #3125

Merged
merged 3 commits into from
Jan 8, 2024
Merged

Conversation

anirudhrb
Copy link
Contributor

  • New parameter to specify VM generation
  • New parameter to disable secure boot
  • New parameter to configure COM ports
  • Enclose some arguments to New-VM in double quotes. These arguments can potentially contain spaces and other special chars.

All these will be used in the upcoming Hyper-V platform.

While at it, properly escape all arguments to New-VM by surrounding them
with double quotes.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
Introduce support for configuring COM ports using Set-VMComPort. This is
useful for obtaining serial console output from the virtual machine.

This functionality will be utilized in the Hyper-V platform.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
lisa/tools/hyperv.py Outdated Show resolved Hide resolved
Configure COM ports only when com_ports is not None.

Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
@squirrelsc
Copy link
Member

@LiliDeng LGTM

@squirrelsc squirrelsc merged commit 3796ecc into microsoft:main Jan 8, 2024
23 checks passed
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