[2/3] rtl8139: Use VMSTATE_MACADDR

Submitted by Juan Quintela on Oct. 22, 2009, 6:50 p.m.

Details

Message ID 185fbf33a635b19f298ce5307610f0ab9137b77c.1256236480.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Oct. 22, 2009, 6:50 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/rtl8139.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index d11ae3b..62fa3ca 100644
--- a/hw/rtl8139.c
+++ b/hw/rtl8139.c
@@ -3155,7 +3155,7 @@  static const VMStateDescription vmstate_rtl8139 = {
         VMSTATE_UINT8(TxThresh, RTL8139State),

         VMSTATE_UNUSED(4),
-        VMSTATE_BUFFER(conf.macaddr, RTL8139State),
+        VMSTATE_MACADDR(conf.macaddr, RTL8139State),
         VMSTATE_INT32(rtl8139_mmio_io_addr, RTL8139State),

         VMSTATE_UINT32(currTxDesc, RTL8139State),