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

feat: Add "cpu-config" field to config file #3614

Conversation

zulinx86
Copy link
Contributor

@zulinx86 zulinx86 commented Apr 14, 2023

Changes

  • Add a new "cpu-config" field into the existing fireracker config file.

Reason

"cpu-config" PUT API was added in PR #3547 to set custom CPU template via API socket. Need to add the field to accept custom CPU template without API

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • [ ] If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • [ ] Any required documentation changes (code and docs) are included in this PR.
  • [ ] API changes follow the Runbook for Firecracker API changes.
  • [ ] User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • [ ] New TODOs link to an issue.
  • Commits meet contribution quality standards.

  • This functionality cannot be added in rust-vmm.

@zulinx86 zulinx86 force-pushed the cpu_config_in_json branch 2 times, most recently from d563373 to 863204b Compare April 14, 2023 15:49
@zulinx86 zulinx86 self-assigned this Apr 17, 2023
@zulinx86 zulinx86 added the Type: Enhancement Indicates new feature requests label Apr 17, 2023
@zulinx86 zulinx86 changed the title feat: add "cpu-config" to config file feat: add "cpu-config" field to config file Apr 17, 2023
@zulinx86 zulinx86 force-pushed the cpu_config_in_json branch 4 times, most recently from 67acef0 to ee5c9d0 Compare April 26, 2023 15:02
@zulinx86 zulinx86 added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Apr 26, 2023
@zulinx86 zulinx86 marked this pull request as ready for review April 26, 2023 15:35
@zulinx86 zulinx86 changed the title feat: add "cpu-config" field to config file feat: Add "cpu-config" field to config file Apr 26, 2023
@zulinx86 zulinx86 force-pushed the cpu_config_in_json branch 2 times, most recently from cae0c05 to fb17c7d Compare April 26, 2023 16:40
"cpu-config" PUT API was added in PR firecracker-microvm#3547 to set custom CPU template
via API socket. To accept custom CPU templates without API, this commit
adds a new "cpu-config" field into the existing config file.

Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
@zulinx86 zulinx86 merged commit 5a2df88 into firecracker-microvm:feature/cpu-templates Apr 27, 2023
@zulinx86 zulinx86 deleted the cpu_config_in_json branch April 27, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting review Indicates that a pull request is ready to be reviewed Type: Enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants