mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
21174c34b6
commit
d9494b19e3
2
hw/hw.h
2
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), \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue