[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 22/27] vmstate.h: Provide VMSTATE_BOOL_SUB_ARRAY
From: |
Alex Bennée |
Subject: |
Re: [Qemu-arm] [PATCH 22/27] vmstate.h: Provide VMSTATE_BOOL_SUB_ARRAY |
Date: |
Wed, 23 May 2018 12:01:28 +0100 |
User-agent: |
mu4e 1.1.0; emacs 26.1 |
Peter Maydell <address@hidden> writes:
> Provide a VMSTATE_BOOL_SUB_ARRAY to go with VMSTATE_UINT8_SUB_ARRAY
> and friends.
>
> Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
> ---
> include/migration/vmstate.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
> index df463fd33d..59fc75e418 100644
> --- a/include/migration/vmstate.h
> +++ b/include/migration/vmstate.h
> @@ -870,6 +870,9 @@ extern const VMStateInfo vmstate_info_qtailq;
> #define VMSTATE_BOOL_ARRAY(_f, _s, _n) \
> VMSTATE_BOOL_ARRAY_V(_f, _s, _n, 0)
>
> +#define VMSTATE_BOOL_SUB_ARRAY(_f, _s, _start, _num) \
> + VMSTATE_SUB_ARRAY(_f, _s, _start, _num, 0, vmstate_info_bool, bool)
> +
> #define VMSTATE_UINT16_ARRAY_V(_f, _s, _n, _v) \
> VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_uint16, uint16_t)
--
Alex Bennée
- Re: [Qemu-arm] [Qemu-devel] [PATCH 15/27] iommu: Add IOMMU index argument to notifier APIs, (continued)
[Qemu-arm] [PATCH 21/27] hw/misc/tz_mpc.c: Honour the BLK_LUT settings in translate, Peter Maydell, 2018/05/21
[Qemu-arm] [PATCH 26/27] hw/arm/iotkit: Wire up MPC interrupt lines, Peter Maydell, 2018/05/21
[Qemu-arm] [PATCH 22/27] vmstate.h: Provide VMSTATE_BOOL_SUB_ARRAY, Peter Maydell, 2018/05/21
- Re: [Qemu-arm] [PATCH 22/27] vmstate.h: Provide VMSTATE_BOOL_SUB_ARRAY,
Alex Bennée <=
[Qemu-arm] [PATCH 27/27] hw/arm/mps2-tz.c: Instantiate MPCs, Peter Maydell, 2018/05/21
[Qemu-arm] [PATCH 18/27] hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection Controller, Peter Maydell, 2018/05/21
Re: [Qemu-arm] [PATCH 18/27] hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection Controller, Alex Bennée, 2018/05/23
Re: [Qemu-arm] [Qemu-devel] [PATCH 00/27] iommu: support txattrs, support TCG execution, implement TZ MPC, no-reply, 2018/05/21
Re: [Qemu-arm] [Qemu-devel] [PATCH 00/27] iommu: support txattrs, support TCG execution, implement TZ MPC, Paolo Bonzini, 2018/05/30