Skip to content

Commit

Permalink
dragonball: introduce virtio-balloon device
Browse files Browse the repository at this point in the history
We introduce virtio-balloon device to support memory resize.
virtio-balloon device could reclaim memory from guest to host.

Fixes: kata-containers#6719

Signed-off-by: Helin Guo <[email protected]>
  • Loading branch information
HerlinCoder committed Jun 9, 2023
1 parent 7ed9494 commit 8fb7ab7
Show file tree
Hide file tree
Showing 7 changed files with 632 additions and 30 deletions.
124 changes: 95 additions & 29 deletions src/dragonball/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/dragonball/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ virtio-net = ["dbs-virtio-devices/virtio-net", "virtio-queue"]
# virtio-fs only work on atomic-guest-memory
virtio-fs = ["dbs-virtio-devices/virtio-fs", "virtio-queue", "atomic-guest-memory"]
virtio-mem = ["dbs-virtio-devices/virtio-mem", "virtio-queue", "atomic-guest-memory"]
virtio-balloon = ["dbs-virtio-devices/virtio-balloon", "virtio-queue"]
Loading

0 comments on commit 8fb7ab7

Please sign in to comment.