[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it
From: |
Markus Armbruster |
Subject: |
Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM |
Date: |
Tue, 19 Sep 2023 11:46:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Xiaoyao Li <xiaoyao.li@intel.com> writes:
> From: Isaku Yamahata <isaku.yamahata@intel.com>
>
> Add a new property "private" to memory backends. When it's set to true,
> it indicates the RAMblock of the backend also requires kvm gmem.
Can you add a brief explanation why you need the property?
> Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
[...]
> diff --git a/qapi/qom.json b/qapi/qom.json
> index fa3e88c8e6ab..d28c5403bc0f 100644
> --- a/qapi/qom.json
> +++ b/qapi/qom.json
> @@ -605,6 +605,9 @@
> # @reserve: if true, reserve swap space (or huge pages) if applicable
> # (default: true) (since 6.1)
> #
> +# @private: if true, use KVM gmem private memory (default: false)
> +# (since 8.2)
> +#
> # @size: size of the memory region in bytes
> #
> # @x-use-canonical-path-for-ramblock-id: if true, the canonical path
> @@ -631,6 +634,7 @@
> '*prealloc-context': 'str',
> '*share': 'bool',
> '*reserve': 'bool',
> + '*private': 'bool',
> 'size': 'size',
> '*x-use-canonical-path-for-ramblock-id': 'bool' } }
- [RFC PATCH v2 00/21] QEMU gmem implemention, Xiaoyao Li, 2023/09/13
- [RFC PATCH v2 01/21] *** HACK *** linux-headers: Update headers to pull in gmem APIs, Xiaoyao Li, 2023/09/13
- [RFC PATCH v2 02/21] RAMBlock: Add support of KVM private gmem, Xiaoyao Li, 2023/09/13
- [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, Xiaoyao Li, 2023/09/13
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM,
Markus Armbruster <=
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, Xiaoyao Li, 2023/09/19
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, Markus Armbruster, 2023/09/20
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, Xiaoyao Li, 2023/09/20
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, David Hildenbrand, 2023/09/20
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, Markus Armbruster, 2023/09/20
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, Xiaoyao Li, 2023/09/21
- Re: [RFC PATCH v2 03/21] HostMem: Add private property and associate it with RAM_KVM_GMEM, David Hildenbrand, 2023/09/21
[RFC PATCH v2 04/21] memory: Introduce memory_region_has_gmem_fd(), Xiaoyao Li, 2023/09/13