qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 60/97] vmstate: VMSTATE_ARRAY_OF_POINTER didn't used


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 60/97] vmstate: VMSTATE_ARRAY_OF_POINTER didn't used the version_id field
Date: Mon, 7 Apr 2014 05:21:18 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 include/migration/vmstate.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 5a26b6a..6d064de 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -296,9 +296,8 @@ extern const VMStateInfo vmstate_info_bitmap;
     .offset       = vmstate_offset_pointer(_state, _field, _type),   \
 }

-#define VMSTATE_ARRAY_OF_POINTER(_field, _state, _num, _version, _info, _type) 
{\
+#define VMSTATE_ARRAY_OF_POINTER(_field, _state, _num, _info, _type) {\
     .name       = (stringify(_field)),                               \
-    .version_id = (_version),                                        \
     .num        = (_num),                                            \
     .info       = &(_info),                                          \
     .size       = sizeof(_type),                                     \
@@ -553,7 +552,7 @@ extern const VMStateInfo vmstate_info_bitmap;
     VMSTATE_TIMER_TEST(_f, _s, NULL)

 #define VMSTATE_TIMER_ARRAY(_f, _s, _n)                               \
-    VMSTATE_ARRAY_OF_POINTER(_f, _s, _n, 0, vmstate_info_timer, QEMUTimer *)
+    VMSTATE_ARRAY_OF_POINTER(_f, _s, _n, vmstate_info_timer, QEMUTimer*)

 #define VMSTATE_BOOL_ARRAY_TEST(_f, _s, _n, _t)                       \
     VMSTATE_ARRAY(_f, _s, _n, _t, vmstate_info_bool, bool)
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]