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

[Feature]: allow overriding machine default values. #635

Open
janek202 opened this issue Dec 14, 2024 · 0 comments
Open

[Feature]: allow overriding machine default values. #635

janek202 opened this issue Dec 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@janek202
Copy link

janek202 commented Dec 14, 2024

Is your proposal related to a problem?

Currently it's possible to change the type of the machine, but some parameters are always hardcoded:
MAC_OPTS="-machine type=${MACHINE},smm=${SECURE},graphics=off,vmport=off,dump-guest-core=off,hpet=off${KVM_OPTS}"

In some cases, these options, may be incompatible with the Guest OS, which may require HPET, or vmport.

Describe the solution you'd like.

A new env variable, such as MACHINE_OPTS/MACHINE_DEFAULT_OPTS with a default value of graphics=off,vmport=off,dump-guest-core=off,hpet=off which could be overriden in a Dockerfile, as needed.

Describe alternatives you've considered.

I'm not sure if there's a way to override it in any other way.

Additional context

No response

@janek202 janek202 added the enhancement New feature or request label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant