Skip to content

Conversation

andig
Copy link
Contributor

@andig andig commented Jan 26, 2025

Fix #78

@damdo
Copy link
Contributor

damdo commented Jan 26, 2025

How about actually calling the option flag netdev since that's what it actually is?
Otherwise if we really want to call it ports I think we should restrict and sanitize it to only actually be port mappings (ala docker).

After all the gok vm command wraps a qemu vm, so I'm up for exposing some of qemu functionality if required.

@damdo
Copy link
Contributor

damdo commented Jan 26, 2025

But let's see what @stapelberg thinks.

@stapelberg
Copy link
Contributor

How about actually calling the option flag netdev since that's what it actually is?

Yeah, I think that’s a good suggestion (as long as the example in the flag help output is good).

That way, users can use the full power of the netdev qemu option.

@andig andig marked this pull request as ready for review January 27, 2025 08:25
@stapelberg stapelberg merged commit 6316042 into gokrazy:main Jan 28, 2025
1 check 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.

gok vm: add custom ports
3 participants