Update irqs on reset and device load
A message that is not in the archive (sent off-list or not yet received): [email protected]
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