aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-06-09 17:11:48 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-06-09 17:11:48 +0000
commit3dcd219f09d6c1817bf9a132899e6b925f7a0914 (patch)
tree1fb465ed328124ce9e65db0654a09f9ef3e34c4f /hw/rtl8139.c
parentRegister reset functions for e1000 and rtl8139 (diff)
downloadqemu-kvm-3dcd219f09d6c1817bf9a132899e6b925f7a0914.tar.gz
qemu-kvm-3dcd219f09d6c1817bf9a132899e6b925f7a0914.tar.bz2
qemu-kvm-3dcd219f09d6c1817bf9a132899e6b925f7a0914.zip
Update irqs on reset and device load
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/rtl8139.c')
-rw-r--r--hw/rtl8139.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index ea2ca2518..ea27dcfea 100644
--- a/hw/rtl8139.c
+++ b/hw/rtl8139.c
@@ -3314,6 +3314,8 @@ static int rtl8139_load(QEMUFile* f,void* opaque,int version_id)
s->cplus_enabled = s->CpCmd != 0;
}
+ rtl8139_update_irq(s);
+
return 0;
}