* [PATCH] migration: remove duplicate VMSTATE_STRUCT_VARRAY
@ 2026-08-31 11:47 marcandre.lureau
2026-09-08 8:09 ` Marc-André Lureau
0 siblings, 1 reply; 3+ messages in thread
From: marcandre.lureau @ 2026-08-31 11:47 UTC (permalink / raw)
To: qemu-devel; +Cc: Marc-André Lureau
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Fixes: 028d4ec43de6 ("migration: Remove duplicate vmstate macros")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
include/migration/vmstate.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index e72c3fae9a69..21a31ed7053c 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -723,16 +723,6 @@ extern const VMStateInfo vmstate_info_g_byte_array;
#define VMSTATE_STRUCT_VARRAY_POINTER_UINT32 VMSTATE_STRUCT_VARRAY_POINTER
#define VMSTATE_STRUCT_VARRAY_POINTER_UINT16 VMSTATE_STRUCT_VARRAY_POINTER
-#define VMSTATE_STRUCT_VARRAY(_field, _state, _field_num, _version, _vmsd, \
- _type) { \
- .name = (stringify(_field)), \
- .num_indirect = vmstate_field_offset(_state, _field_num), \
- .version_id = (_version), \
- .vmsd = &(_vmsd), \
- .size = sizeof(_type), \
- .flags = VMS_STRUCT | VMS_VARRAY, \
- .offset = vmstate_offset_varray(_state, _field, _type), \
-}
#define VMSTATE_STRUCT_VARRAY_INT32 VMSTATE_STRUCT_VARRAY
#define VMSTATE_STRUCT_VARRAY_UINT32 VMSTATE_STRUCT_VARRAY
--
2.55.0.543.g5ebe2ebe4ea8
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] migration: remove duplicate VMSTATE_STRUCT_VARRAY
2026-08-31 11:47 [PATCH] migration: remove duplicate VMSTATE_STRUCT_VARRAY marcandre.lureau
@ 2026-09-08 8:09 ` Marc-André Lureau
2026-09-22 12:33 ` Fabiano Rosas
0 siblings, 1 reply; 3+ messages in thread
From: Marc-André Lureau @ 2026-09-08 8:09 UTC (permalink / raw)
To: qemu-devel
On Mon, Aug 31, 2026 at 3:48 PM <marcandre.lureau@redhat.com> wrote:
>
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Fixes: 028d4ec43de6 ("migration: Remove duplicate vmstate macros")
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
ping, trivial
> ---
> include/migration/vmstate.h | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
> index e72c3fae9a69..21a31ed7053c 100644
> --- a/include/migration/vmstate.h
> +++ b/include/migration/vmstate.h
> @@ -723,16 +723,6 @@ extern const VMStateInfo vmstate_info_g_byte_array;
> #define VMSTATE_STRUCT_VARRAY_POINTER_UINT32 VMSTATE_STRUCT_VARRAY_POINTER
> #define VMSTATE_STRUCT_VARRAY_POINTER_UINT16 VMSTATE_STRUCT_VARRAY_POINTER
>
> -#define VMSTATE_STRUCT_VARRAY(_field, _state, _field_num, _version, _vmsd, \
> - _type) { \
> - .name = (stringify(_field)), \
> - .num_indirect = vmstate_field_offset(_state, _field_num), \
> - .version_id = (_version), \
> - .vmsd = &(_vmsd), \
> - .size = sizeof(_type), \
> - .flags = VMS_STRUCT | VMS_VARRAY, \
> - .offset = vmstate_offset_varray(_state, _field, _type), \
> -}
> #define VMSTATE_STRUCT_VARRAY_INT32 VMSTATE_STRUCT_VARRAY
> #define VMSTATE_STRUCT_VARRAY_UINT32 VMSTATE_STRUCT_VARRAY
>
> --
> 2.55.0.543.g5ebe2ebe4ea8
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] migration: remove duplicate VMSTATE_STRUCT_VARRAY
2026-09-08 8:09 ` Marc-André Lureau
@ 2026-09-22 12:33 ` Fabiano Rosas
0 siblings, 0 replies; 3+ messages in thread
From: Fabiano Rosas @ 2026-09-22 12:33 UTC (permalink / raw)
To: Marc-André Lureau, qemu-devel
Marc-André Lureau <marcandre.lureau@redhat.com> writes:
> On Mon, Aug 31, 2026 at 3:48 PM <marcandre.lureau@redhat.com> wrote:
>>
>> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>>
>> Fixes: 028d4ec43de6 ("migration: Remove duplicate vmstate macros")
>> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> ping, trivial
>
>> ---
>> include/migration/vmstate.h | 10 ----------
>> 1 file changed, 10 deletions(-)
>>
>> diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
>> index e72c3fae9a69..21a31ed7053c 100644
>> --- a/include/migration/vmstate.h
>> +++ b/include/migration/vmstate.h
>> @@ -723,16 +723,6 @@ extern const VMStateInfo vmstate_info_g_byte_array;
>> #define VMSTATE_STRUCT_VARRAY_POINTER_UINT32 VMSTATE_STRUCT_VARRAY_POINTER
>> #define VMSTATE_STRUCT_VARRAY_POINTER_UINT16 VMSTATE_STRUCT_VARRAY_POINTER
>>
>> -#define VMSTATE_STRUCT_VARRAY(_field, _state, _field_num, _version, _vmsd, \
>> - _type) { \
>> - .name = (stringify(_field)), \
>> - .num_indirect = vmstate_field_offset(_state, _field_num), \
>> - .version_id = (_version), \
>> - .vmsd = &(_vmsd), \
>> - .size = sizeof(_type), \
>> - .flags = VMS_STRUCT | VMS_VARRAY, \
>> - .offset = vmstate_offset_varray(_state, _field, _type), \
>> -}
>> #define VMSTATE_STRUCT_VARRAY_INT32 VMSTATE_STRUCT_VARRAY
>> #define VMSTATE_STRUCT_VARRAY_UINT32 VMSTATE_STRUCT_VARRAY
>>
>> --
>> 2.55.0.543.g5ebe2ebe4ea8
>>
>>
Queued.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-22 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 11:47 [PATCH] migration: remove duplicate VMSTATE_STRUCT_VARRAY marcandre.lureau
2026-09-08 8:09 ` Marc-André Lureau
2026-09-22 12:33 ` Fabiano Rosas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.