Skip to content

feat(vz): configure maximum console port count - #283

Merged
Code-Hex merged 1 commit into
mainfrom
codex/console-port-limit
Oct 27, 2026
Merged

Code-Hex merged 1 commit into
mainfrom
codex/console-port-limit

Conversation

@Code-Hex

Copy link
Copy Markdown
Owner

Allow callers to set the maximum number of console ports when they create a Virtio console device:

console, err := vz.NewVirtioConsoleDeviceConfiguration(
    vz.WithVirtioConsoleMaximumPortCount(8),
)

Without the option, Virtualization.framework continues to derive the count from the configured ports. An explicit count must exceed the highest port index.

@Code-Hex
Code-Hex merged commit ace2cd7 into main Oct 27, 2026
13 checks passed
@Code-Hex
Code-Hex deleted the codex/console-port-limit branch October 27, 2026 12:32
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