On Wed,  4 Nov 2020 12:25:11 -0500
Eduardo Habkost <[email protected]> wrote:

> Introduce a FIELD_PTR macro that will ensure the size of the area
> we are accessing has the correct size, and will return a pointer
> of the correct type.
> 
> Signed-off-by: Eduardo Habkost <[email protected]>
> ---
> Cc: Stefan Berger <[email protected]>
> Cc: Stefano Stabellini <[email protected]>
> Cc: Anthony Perard <[email protected]>
> Cc: Paul Durrant <[email protected]>
> Cc: Kevin Wolf <[email protected]>
> Cc: Max Reitz <[email protected]>
> Cc: Paolo Bonzini <[email protected]>
> Cc: "Daniel P. BerrangĂ©" <[email protected]>
> Cc: Eduardo Habkost <[email protected]>
> Cc: Cornelia Huck <[email protected]>
> Cc: Thomas Huth <[email protected]>
> Cc: Halil Pasic <[email protected]>
> Cc: Christian Borntraeger <[email protected]>
> Cc: Richard Henderson <[email protected]>
> Cc: David Hildenbrand <[email protected]>
> Cc: Matthew Rosato <[email protected]>
> Cc: Alex Williamson <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>  include/qom/field-property.h     | 21 ++++++++++-
>  backends/tpm/tpm_util.c          |  6 ++--
>  hw/block/xen-block.c             |  4 +--
>  hw/core/qdev-properties-system.c | 50 +++++++++++++-------------
>  hw/s390x/css.c                   |  4 +--
>  hw/s390x/s390-pci-bus.c          |  4 +--
>  hw/vfio/pci-quirks.c             |  4 +--
>  qom/field-property.c             |  3 +-
>  qom/property-types.c             | 60 +++++++++++++++++---------------
>  9 files changed, 89 insertions(+), 67 deletions(-)

Acked-by: Cornelia Huck <[email protected]>


Reply via email to