qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 53/97] vmstate: Rename VMSTATE_POINTER_TEST without


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 53/97] vmstate: Rename VMSTATE_POINTER_TEST without _TEST
Date: Mon, 7 Apr 2014 05:21:11 +0200

The other didn't exist anymore.

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

diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index db70163..8dac300 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -202,13 +202,13 @@ extern const VMStateInfo vmstate_info_bitmap;
     .offset       = vmstate_offset_value(_state, _field, _type),     \
 }

-#define VMSTATE_POINTER_TEST(_field, _state, _test, _info, _type) {  \
-    .name       = (stringify(_field)),                               \
-    .info       = &(_info),                                          \
+#define VMSTATE_POINTER(_field, _state, _test, _info, _type) {  \
+    .name         = (stringify(_field)),                             \
+    .info         = &(_info),                                        \
     .field_exists = (_test),                                         \
-    .size       = sizeof(_type),                                     \
-    .flags      = VMS_SINGLE|VMS_POINTER,                            \
-    .offset     = vmstate_offset_value(_state, _field, _type),       \
+    .size         = sizeof(_type),                                   \
+    .flags        = VMS_SINGLE|VMS_POINTER,                          \
+    .offset       = vmstate_offset_value(_state, _field, _type),     \
 }

 #define VMSTATE_2DARRAY(_field, _state, _n1, _n2, _test, _info, _type) { \
@@ -555,7 +555,7 @@ extern const VMStateInfo vmstate_info_bitmap;
     VMSTATE_SINGLE(_f, _s, NULL, vmstate_info_float64, float64)

 #define VMSTATE_TIMER_TEST(_f, _s, _test)                             \
-    VMSTATE_POINTER_TEST(_f, _s, _test, vmstate_info_timer, QEMUTimer *)
+    VMSTATE_POINTER(_f, _s, _test, vmstate_info_timer, QEMUTimer*)

 #define VMSTATE_TIMER(_f, _s)                                         \
     VMSTATE_TIMER_TEST(_f, _s, NULL)
-- 
1.9.0




reply via email to

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