Skip to contentSkip to conversation

Update irqs on reset and device load

Qemu-devel Paul Brook 1 participant 1 message Jun 9, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Paul Brook

author
#1 lore raw

Review static int rtl8139_load(QEMUFile* f,void* opaque,int · line 3317

Quoted 6 lines · Anthony Liguori

From: Blue Swirl <[email protected]>

(quoted diff) +1 -0
@@ -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);

This should not be necessary.

PCI bus multiplexers should save/restore their own internal state.

In fact this patch only works by chance, and relies on the fact that the bus multiplexers have no temporal state.

Paul