[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL v4 11/43] qom: Add memory-backend-epc ObjectOptions support
From: |
Eric Blake |
Subject: |
Re: [PULL v4 11/43] qom: Add memory-backend-epc ObjectOptions support |
Date: |
Wed, 8 Sep 2021 09:51:25 -0500 |
User-agent: |
NeoMutt/20210205-739-420e15 |
On Wed, Sep 08, 2021 at 12:03:54PM +0200, Paolo Bonzini wrote:
> From: Yang Zhong <yang.zhong@intel.com>
>
> Add the new 'memory-backend-epc' user creatable QOM object in
> the ObjectOptions to support SGX since v6.1, or the sgx backend
> object cannot bootup.
>
> Signed-off-by: Yang Zhong <yang.zhong@intel.com>
>
> v1-->v2:
> - Added the new MemoryBackendEpcProperties and related documents,
> and updated the blurb(Eric Blake).
A bit odd to see this in the pull request, but probably too late to
worry about it now unless there is another reason to respin it.
(Generally, patch version information should be...
> Message-Id: <20210719112136.57018-4-yang.zhong@intel.com>
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
...here, after the --- separator, so that 'git am' will drop it).
> qapi/qom.json | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/qapi/qom.json b/qapi/qom.json
> index a25616bc7a..16ba30e5b9 100644
> --- a/qapi/qom.json
> +++ b/qapi/qom.json
> @@ -647,6 +647,23 @@
> '*hugetlbsize': 'size',
> '*seal': 'bool' } }
>
> +##
> +# @MemoryBackendEpcProperties:
> +#
> +# Properties for memory-backend-epc objects.
> +#
> +# The @share boolean option is true by default with epc
> +#
> +# The @merge boolean option is false by default with epc
> +#
> +# The @dump boolean option is false by default with epc
> +#
> +# Since: 6.1
Unless there's a reason to respin the pull request, we'll need a
followup patch to bump this to 6.2.
> +##
> +{ 'struct': 'MemoryBackendEpcProperties',
> + 'base': 'MemoryBackendProperties',
> + 'data': {} }
> +
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PULL v4 00/43] (Mostly) x86 changes for 2021-09-06, Paolo Bonzini, 2021/09/08
- [PULL v4 01/43] target/i386: add missing bits to CR4_RESERVED_MASK, Paolo Bonzini, 2021/09/08
- [PULL v4 02/43] target/i386: VMRUN and VMLOAD canonicalizations, Paolo Bonzini, 2021/09/08
- [PULL v4 03/43] target/i386: Added VGIF feature, Paolo Bonzini, 2021/09/08
- [PULL v4 05/43] target/i386: Added VGIF V_IRQ masking capability, Paolo Bonzini, 2021/09/08
- [PULL v4 09/43] memory: Add RAM_PROTECTED flag to skip IOMMU mappings, Paolo Bonzini, 2021/09/08
- [PULL v4 06/43] target/i386: Added ignore TPR check in ctl_has_irq, Paolo Bonzini, 2021/09/08
- [PULL v4 11/43] qom: Add memory-backend-epc ObjectOptions support, Paolo Bonzini, 2021/09/08
- Re: [PULL v4 11/43] qom: Add memory-backend-epc ObjectOptions support,
Eric Blake <=
- [PULL v4 04/43] target/i386: Moved int_ctl into CPUX86State structure, Paolo Bonzini, 2021/09/08
- [PULL v4 07/43] target/i386: Added changed priority check for VIRQ, Paolo Bonzini, 2021/09/08
- [PULL v4 08/43] target/i386: Added vVMLOAD and vVMSAVE feature, Paolo Bonzini, 2021/09/08
- [PULL v4 10/43] hostmem: Add hostmem-epc as a backend for SGX EPC, Paolo Bonzini, 2021/09/08
- [PULL v4 17/43] i386: Add SGX CPUID leaf FEAT_SGX_12_1_EAX, Paolo Bonzini, 2021/09/08
- [PULL v4 14/43] i386: Add primary SGX CPUID and MSR defines, Paolo Bonzini, 2021/09/08
- [PULL v4 13/43] vl: Add sgx compound properties to expose SGX EPC sections to guest, Paolo Bonzini, 2021/09/08
- [PULL v4 18/43] i386: Add get/set/migrate support for SGX_LEPUBKEYHASH MSRs, Paolo Bonzini, 2021/09/08