-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate the `cpu_template` field in PUT and PATCH reqeusts on the `/machine-config` API by following the runbook for API changes. To differentiate between explicitly specifying `None` and not specifying anything, wrap the `cpu_template` of the `MachineConfig` with `Option`. With this, it can notify the deprecation of only users using the field. Signed-off-by: Takahiro Itazuri <[email protected]>
- Loading branch information
Showing
7 changed files
with
150 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,13 @@ Firecracker supports two types of CPU templates: | |
- Custom CPU templates - users can create their own CPU templates in json | ||
format and pass them to Firecracker | ||
|
||
> **Note** | ||
Static CPU templates are deprecated starting from v1.5.0 and will be removed in | ||
accordance with our deprecation policy. Even after the removal, custom CPU | ||
templates are available as an improved iteration of static CPU templates. For | ||
more information about the transition from static CPU templates to custom CPU | ||
templates, please refer to [this GitHub discussion](https://github.com/firecracker-microvm/firecracker/discussions/4135). | ||
|
||
> **Note** | ||
CPU templates for ARM (both static and custom) require the following patch | ||
to be available in the host kernel: [Support writable CPU ID registers from userspace](https://lore.kernel.org/kvm/[email protected]/#t). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters