Skip to content

Commit 82a531b

Browse files
authored
Update Firecracker from v0.24.2 to v0.24.3 (#346)
Firecracker v0.24.3 is now released, and we should update our Firecracker as well. This release fix the balloon API: All "MB" change to "MiB". Signed-off-by: Royce Zhao <[email protected]>
1 parent 27baafe commit 82a531b

File tree

6 files changed

+36
-43
lines changed

6 files changed

+36
-43
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ JAILER_BIN=$(FC_TEST_DATA_PATH)/jailer-main
2626
UID = $(shell id -u)
2727
GID = $(shell id -g)
2828

29-
firecracker_version=v0.24.2
29+
firecracker_version=v0.24.3
3030
arch=$(shell uname -m)
3131

3232
# The below files are needed and can be downloaded from the internet

client/models/balloon.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/models/balloon_stats.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/models/balloon_update.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/models/drive.go

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/swagger.yaml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
The API is accessible through HTTP calls on specific URLs
66
carrying JSON modeled data.
77
The transport medium is a Unix Domain Socket.
8-
version: 0.24.0
8+
version: 0.24.3
99
termsOfService: ""
1010
contact:
1111
@@ -617,14 +617,14 @@ definitions:
617617
Balloon:
618618
type: object
619619
required:
620-
- amount_mb
620+
- amount_mib
621621
- deflate_on_oom
622622
description:
623623
Balloon device descriptor.
624624
properties:
625-
amount_mb:
625+
amount_mib:
626626
type: integer
627-
description: Target balloon size in MB.
627+
description: Target balloon size in MiB.
628628
deflate_on_oom:
629629
type: boolean
630630
description: Whether the balloon should deflate when the guest has memory pressure.
@@ -635,13 +635,13 @@ definitions:
635635
BalloonUpdate:
636636
type: object
637637
required:
638-
- amount_mb
638+
- amount_mib
639639
description:
640640
Balloon device descriptor.
641641
properties:
642-
amount_mb:
642+
amount_mib:
643643
type: integer
644-
description: Target balloon size in MB.
644+
description: Target balloon size in MiB.
645645

646646
BalloonStats:
647647
type: object
@@ -650,20 +650,20 @@ definitions:
650650
required:
651651
- target_pages
652652
- actual_pages
653-
- target_mb
654-
- actual_mb
653+
- target_mib
654+
- actual_mib
655655
properties:
656656
target_pages:
657657
description: Target number of pages the device aims to hold.
658658
type: integer
659659
actual_pages:
660660
description: Actual number of pages the device is holding.
661661
type: integer
662-
target_mb:
663-
description: Target amount of memory (in MB) the device aims to hold.
662+
target_mib:
663+
description: Target amount of memory (in MiB) the device aims to hold.
664664
type: integer
665-
actual_mb:
666-
description: Actual amount of memory (in MB) the device is holding.
665+
actual_mib:
666+
description: Actual amount of memory (in MiB) the device is holding.
667667
type: integer
668668
swap_in:
669669
description: The amount of memory that has been swapped in (in bytes).
@@ -753,11 +753,6 @@ definitions:
753753
properties:
754754
drive_id:
755755
type: string
756-
cache_type:
757-
type: string
758-
description:
759-
Represents the caching strategy for the block device.
760-
default: "Unsafe"
761756
is_read_only:
762757
type: boolean
763758
is_root_device:
@@ -1088,4 +1083,5 @@ definitions:
10881083
type: string
10891084
description: Path to UNIX domain socket, used to proxy vsock connections.
10901085
vsock_id:
1091-
type: string
1086+
type: string
1087+

0 commit comments

Comments
 (0)