qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vmstate: Fix info field of VMSTATE_MACADDR
@ 2009-12-01 19:00 Jan Kiszka
  2009-12-01 19:24 ` [Qemu-devel] " Juan Quintela
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2009-12-01 19:00 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Pierre Riteau, qemu-devel, Liran Schour, Juan Quintela

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

This may partly or fully explain the e1000 issue Pierre reported first.
However, there are more bugs in the current migration code, e.g. in
qemu_fseek when used with streams, it still doesn't work properly here.
Need a break...

 hw/hw.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/hw.h b/hw/hw.h
index 86ee716..dc119f0 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -546,7 +546,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),            \
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-01 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 19:00 [Qemu-devel] [PATCH] vmstate: Fix info field of VMSTATE_MACADDR Jan Kiszka
2009-12-01 19:24 ` [Qemu-devel] " Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).