[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 058/124] vmstate: Rename VMSTATE_POINTER_TEST withou
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 058/124] vmstate: Rename VMSTATE_POINTER_TEST without _TEST |
Date: |
Mon, 21 Apr 2014 16:40:38 +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 38a7566..cde875e 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
- [Qemu-devel] [PATCH 048/124] vmstate: Remove unused VMSTATE_BUFFER_V, (continued)
- [Qemu-devel] [PATCH 048/124] vmstate: Remove unused VMSTATE_BUFFER_V, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 049/124] vmstate: Remove version from VMSTATE_BUFFER_UNSAFE, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 050/124] vmstate: Remove unused version fields from ARM, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 051/124] vmstate: All ptimers users were at least at version 1 or more, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 053/124] vmstate: Port last 3 users of VMSTATE_ARRAY to VMSTATE_ARRAY_TEST, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 052/124] vmstate: Remove version from all variants of VMSTATE_STRUCT_POINTER*, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 054/124] vmstate: Port last user of VMSTATE_SINGLE to VMSTATE_SINGLE_TEST, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 055/124] vmstate: Remove unused VMSTATE_POINTER, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 057/124] vmstate: Move VMSTATE_2DARRAY to use _test, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 056/124] vmstate: Rename VMSTATE_SINGLE_TEST to VMSTATE_SINGLE, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 058/124] vmstate: Rename VMSTATE_POINTER_TEST without _TEST,
Juan Quintela <=
- [Qemu-devel] [PATCH 059/124] vmstate: Rename VMSTATE_ARRAY_TEST to VMSTATE_ARRAY, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 061/124] vmstate: Remove version_id fields that were not used, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 060/124] vmstate: Remove version_id from VMSTATE_VBUFFER, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 062/124] vmstate: Remove version_id from VMSTATE_SUB_ARRAY, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 063/124] vmstate: Remove version parameter from VMSTATE_VARRAY_INT32, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 064/124] vmstate: Remove version_id from VMSTATE_VARRAY_UINT16_UNSAFE, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 065/124] vmstate: Remove unused version_id from VMSTATE_ARRAY_OF_POINTER, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 067/124] vmstate: Remove version, test and start parameter from VMSTATE_VBUFFER_UINT32, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 066/124] vmstate: remove version parameter from VMSTATE_BUFFER_POINTER_UNSAFE, Juan Quintela, 2014/04/21
- [Qemu-devel] [PATCH 069/124] vmstate: Remove VMSTATE_BUFFER_MULTIPLY, Juan Quintela, 2014/04/21