summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-12-02 12:36:36 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 10:04:53 -0600
commitd9494b19e3239aaba3eaf85bcdc1ceab3cea3f72 (patch)
treea7c514cf371d1b6621f981e45c953a7aa0ca7dfe /hw
parent21174c34b6b9ace9ad82e0deb13be752d28a5907 (diff)
downloadhqemu-d9494b19e3239aaba3eaf85bcdc1ceab3cea3f72.zip
hqemu-d9494b19e3239aaba3eaf85bcdc1ceab3cea3f72.tar.gz
vmstate: Fix info field of VMSTATE_MACADDR
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/hw.h2
1 files changed, 1 insertions, 1 deletions
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), \
}
OpenPOWER on IntegriCloud