Skip to content

Commit

Permalink
fix: add vcpu_features and kvm_capabilites to swagger
Browse files Browse the repository at this point in the history
These fields were added in firecracker-microvm#3967 but the Swagger API definition was not
updated. This patch fixes the API definition.

Signed-off-by: Riccardo Mancini <mancio@amazon.com>
  • Loading branch information
Manciukic committed Nov 20, 2024
1 parent 79bf129 commit 4a78451
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/firecracker/swagger/firecracker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ definitions:
default: "None"

CpuConfig:
type: string
type: object
description:
The CPU configuration template defines a set of bit maps as modifiers of flags accessed by register
to be disabled/enabled for the microvm.
Expand All @@ -854,6 +854,12 @@ definitions:
reg_modifiers:
type: object
description: A collection of registers to be modified. (aarch64)
vcpu_features:
type: object
description: A collection of vcpu features to be modified. (aarch64)
kvm_capabilities:
type: object
description: A collection of kvm capabilities to be modified. (aarch64)

Drive:
type: object
Expand Down

0 comments on commit 4a78451

Please sign in to comment.