include/migration/vmstate.h | 10 ---------- 1 file changed, 10 deletions(-)
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
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
>
>
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.
© 2016 - 2026 Red Hat, Inc.