[RFC PATCH v2 0/5] virtio-balloon: Working Set Reporting

2023-05-25 Thread T.J. Alumbaugh
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

[RFC PATCH v2 4/5] virtio-balloon: Add HMP functions for Working Set

2023-05-25 Thread T.J. Alumbaugh
"anon": 1228800, "file": 614400 }, "idle-age": 800 }, "ws0": { "memory-size-bytes": { "anon": 409600, "file": 20480

[RFC PATCH v2 3/5] virtio-balloon: Add QMP functions for Working Set

2023-05-25 Thread T.J. Alumbaugh
"file": 83353600 }, "idle-age": 3000 }, "ws1": { "memory-size-bytes": { "anon": 44236800, "file": 20889600 }, "idle-age": 800 }, "ws0": {

[RFC PATCH v2 2/5] virtio-balloon: device has Working Set Reporting

2023-05-25 Thread T.J. Alumbaugh
- 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

[RFC PATCH v2 5/5] virtio-balloon: Migration of working set config

2023-05-25 Thread T.J. Alumbaugh
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

[RFC PATCH v2 1/5] virtio-balloon: Add Working Set Reporting feature

2023-05-25 Thread T.J. Alumbaugh
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

Re: [RFC PATCH 1/1] virtio-balloon: Add Working Set Reporting feature

2023-05-18 Thread T.J. Alumbaugh
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: > >

Re: [RFC PATCH 1/1] virtio-balloon: Add Working Set Reporting feature

2023-05-15 Thread T.J. Alumbaugh
...@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

[RFC PATCH 0/1] virtio-balloon: Add Working Set Reporting feature

2023-05-10 Thread T.J. Alumbaugh
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

[RFC PATCH 1/1] virtio-balloon: Add Working Set Reporting feature

2023-05-10 Thread T.J. Alumbaugh
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