aboutsummaryrefslogtreecommitdiff
path: root/hw/hw.h
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/hw.h
parentvmstate: Avoid seeking (diff)
downloadqemu-kvm-d9494b19e3239aaba3eaf85bcdc1ceab3cea3f72.tar.gz
qemu-kvm-d9494b19e3239aaba3eaf85bcdc1ceab3cea3f72.tar.bz2
qemu-kvm-d9494b19e3239aaba3eaf85bcdc1ceab3cea3f72.zip
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/hw.h')
-rw-r--r--hw/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hw.h b/hw/hw.h
index 7889aa3ce..c3c0c9fe3 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), \
}