References:
[1]
https://kvmforum2020.sched.com/event/eE4U/virtio-balloonpmemmem-managing-guest-memory-david-hildenbrand-michael-s-tsirkin-red-hat
T.J. Alumbaugh (5):
virtio-balloon: Add Working Set Reporting feature
virtio-balloon: device has Working Set Reporting
virtio-balloon: Add QMP functions
"anon": 1228800,
"file": 614400
},
"idle-age": 800
},
"ws0": {
"memory-size-bytes": {
"anon": 409600,
"file": 20480
"file": 83353600
},
"idle-age": 3000
},
"ws1": {
"memory-size-bytes": {
"anon": 44236800,
"file": 20889600
},
"idle-age": 800
},
"ws0": {
- working_set_vq to receive Working Set reports from guest
- notification_vq to send config or request to guest
- add working set as object property on device
Signed-off-by: T.J. Alumbaugh
---
hw/virtio/virtio-balloon.c | 164 -
include/hw/virtio/virtio
Migrate working_set_num_bins through VMStateDescription.
Signed-off-by: T.J. Alumbaugh
---
hw/virtio/virtio-balloon.c | 12
1 file changed, 12 insertions(+)
diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c
index a124d95534..6e1646abfd 100644
--- a/hw/virtio
Balloon header includes:
- feature bit for Working Set Reporting
- number of Working Set bins member in balloon config
- types for communicating Working Set information
Signed-off-by: T.J. Alumbaugh
---
.../standard-headers/linux/virtio_balloon.h | 20 +++
1 file changed
On Tue, May 16, 2023 at 5:03 AM Dr. David Alan Gilbert wrote:
>
> * T.J. Alumbaugh (talum...@google.com) wrote:
> > Working Set Reporting supported in virtio-balloon.
> > - adds working set reporting and notification vqueues
> > - QMP API additions:
> >
...@google.com/
On Wed, May 10, 2023 at 8:39 AM T.J. Alumbaugh wrote:
>
> Working Set Reporting supported in virtio-balloon.
> - adds working set reporting and notification vqueues
> - QMP API additions:
>- guest-ws property on balloon
>- generates QMP WS_EVENT when new
mem-managing-guest-memory-david-hildenbrand-michael-s-tsirkin-red-hat
T.J. Alumbaugh (1):
virtio-balloon: Add Working Set Reporting feature
hmp-commands.hx | 26 ++
hw/core/machine-hmp-cmds.c| 21 ++
hw/virtio/virtio-balloon-pci.c
Working Set Reporting supported in virtio-balloon.
- adds working set reporting and notification vqueues
- QMP API additions:
- guest-ws property on balloon
- generates QMP WS_EVENT when new reports available
- ws_config, ws_request commands
Signed-off-by: T.J. Alumbaugh
---
hmp
10 matches
Mail list logo