Patchwork [02/12] vmstate: Fix info field of VMSTATE_MACADDR

login
register
mail settings
Submitter Juan Quintela
Date Dec. 2, 2009, 11:36 a.m.
Message ID <bdf7f6129cbffe7ba72c6dd49875d3de14222764.1259753146.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/39995/
State New
Headers show

Comments

Juan Quintela - Dec. 2, 2009, 11:36 a.m.
From: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/hw.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/hw.h b/hw/hw.h
index 7889aa3..c3c0c9f 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -545,7 +545,7 @@  extern const VMStateDescription vmstate_i2c_slave;
 #define VMSTATE_MACADDR(_field, _state) {                            \
     .name       = (stringify(_field)),                               \
     .size       = sizeof(MACAddr),                                   \
-    .info       = &vmstate_info_uint8,                               \
+    .info       = &vmstate_info_buffer,                              \
     .flags      = VMS_BUFFER,                                        \
     .offset     = vmstate_offset_macaddr(_state, _field),            \
 }