[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [for-6.0 v5 01/13] qom: Allow optional sugar props
From: |
Cornelia Huck |
Subject: |
Re: [for-6.0 v5 01/13] qom: Allow optional sugar props |
Date: |
Fri, 4 Dec 2020 13:57:02 +0100 |
On Fri, 4 Dec 2020 16:44:03 +1100
David Gibson <david@gibson.dropbear.id.au> wrote:
> From: Greg Kurz <groug@kaod.org>
>
> Global properties have an @optional field, which allows to apply a given
> property to a given type even if one of its subclasses doesn't support
> it. This is especially used in the compat code when dealing with the
> "disable-modern" and "disable-legacy" properties and the "virtio-pci"
> type.
>
> Allow object_register_sugar_prop() to set this field as well.
>
> Signed-off-by: Greg Kurz <groug@kaod.org>
> Message-Id: <159738953558.377274.16617742952571083440.stgit@bahia.lan>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> ---
> include/qom/object.h | 3 ++-
> qom/object.c | 4 +++-
> softmmu/vl.c | 16 ++++++++++------
> 3 files changed, 15 insertions(+), 8 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
- [for-6.0 v5 00/13] Generalize memory encryption models, David Gibson, 2020/12/04
- [for-6.0 v5 04/13] securable guest memory: Move side effect out of machine_set_memory_encryption(), David Gibson, 2020/12/04
- [for-6.0 v5 02/13] securable guest memory: Introduce new securable guest memory base class, David Gibson, 2020/12/04
- [for-6.0 v5 01/13] qom: Allow optional sugar props, David Gibson, 2020/12/04
- [for-6.0 v5 03/13] securable guest memory: Handle memory encryption via interface, David Gibson, 2020/12/04
- [for-6.0 v5 08/13] securable guest memory: Introduce sgm "ready" flag, David Gibson, 2020/12/04
- [for-6.0 v5 06/13] securable guest memory: Decouple kvm_memcrypt_*() helpers from KVM, David Gibson, 2020/12/04
- [for-6.0 v5 11/13] spapr: PEF: prevent migration, David Gibson, 2020/12/04