Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

Use memory ballooning when memory is reduced #790

@jcvenegas

Description

@jcvenegas

Description of problem

When the memory is updated to be reduced today update a memory cgroup inside of the VM this
will prevent the process keep using more memory but if the VM already took the memory before reduce it we never take back memory to the host.

Expected result

Ask the VM to return reduced memory from the VM.

To do this we should start the VM with balloon enabled.
When the memory is updated (via memory update or delete container) request via QMP.

Actual result

The memory keeps as part of the Guest.

\cc @clarecch @linzichang @bergwolf

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions