projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c619b5
)
vmstate: add uint64 array support
author
Juan Quintela
<quintela@redhat.com>
Thu, 10 Sep 2009 01:04:42 +0000
(
03:04
+0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 11 Sep 2009 16:10:08 +0000
(11:10 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/hw.h
patch
|
blob
|
history
diff --git
a/hw/hw.h
b/hw/hw.h
index
b023ced
..
792f592
100644
(file)
--- a/
hw/hw.h
+++ b/
hw/hw.h
@@
-495,6
+495,12
@@
extern const VMStateDescription vmstate_pci_device;
#define VMSTATE_UINT32_ARRAY(_f, _s, _n) \
VMSTATE_UINT32_ARRAY_V(_f, _s, _n, 0)
+#define VMSTATE_UINT64_ARRAY_V(_f, _s, _n, _v) \
+ VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_uint64, uint64_t)
+
+#define VMSTATE_UINT64_ARRAY(_f, _s, _n) \
+ VMSTATE_UINT64_ARRAY_V(_f, _s, _n, 0)
+
#define VMSTATE_INT32_ARRAY_V(_f, _s, _n, _v) \
VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_int32, int32_t)