[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 2/5] virtio-balloon: device has Working Set Reporting
|
From: |
Markus Armbruster |
|
Subject: |
Re: [RFC PATCH v2 2/5] virtio-balloon: device has Working Set Reporting |
|
Date: |
Sat, 27 May 2023 08:21:53 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
"T.J. Alumbaugh" <talumbau@google.com> writes:
> - 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 <talumbau@google.com>
[...]
> diff --git a/qapi/misc.json b/qapi/misc.json
> index ff070ec828..4ba8c74b64 100644
> --- a/qapi/misc.json
> +++ b/qapi/misc.json
> @@ -550,6 +550,32 @@
> 'returns': ['CommandLineOptionInfo'],
> 'allow-preconfig': true}
>
> +##
> +# @MemoryBin:
> +#
> +# A bin of memory with a size in bytes. File-backed and
> +# anonymous memory are tracked separately.
> +#
> +# @anon: number of bytes of anonymous memory
> +# @file: number of bytes of file-backed memory
Please format like
# A bin of memory with a size in bytes. File-backed and anonymous
# memory are tracked separately.
#
# @anon: number of bytes of anonymous memory
#
# @file: number of bytes of file-backed memory
to blend in with recent commit a937b6aa739 (qapi: Reformat doc comments
to conform to current conventions).
Separating member sections with blank lines helps with catching certain
errors. rST loves to surprise...
> +##
> +{ 'struct': 'MemoryBin',
> + 'data': { 'anon': 'uint64',
> + 'file': 'uint64' } }
> +
[...]
- [RFC PATCH v2 0/5] virtio-balloon: Working Set Reporting, T.J. Alumbaugh, 2023/05/25
- [RFC PATCH v2 1/5] virtio-balloon: Add Working Set Reporting feature, T.J. Alumbaugh, 2023/05/25
- [RFC PATCH v2 2/5] virtio-balloon: device has Working Set Reporting, T.J. Alumbaugh, 2023/05/25
- [RFC PATCH v2 3/5] virtio-balloon: Add QMP functions for Working Set, T.J. Alumbaugh, 2023/05/25
- [RFC PATCH v2 4/5] virtio-balloon: Add HMP functions for Working Set, T.J. Alumbaugh, 2023/05/25
- [RFC PATCH v2 5/5] virtio-balloon: Migration of working set config, T.J. Alumbaugh, 2023/05/25
- Re: [RFC PATCH v2 0/5] virtio-balloon: Working Set Reporting, David Hildenbrand, 2023/05/31