projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff66eae
)
ioemu: Fix load of PCI-device IRQ state after save/restore.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 19 May 2008 08:42:18 +0000
(09:42 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 19 May 2008 08:42:18 +0000
(09:42 +0100)
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/ioemu/hw/pci.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/hw/pci.c
b/tools/ioemu/hw/pci.c
index 250dfcb3c9ff012da609de4ccff9dfa7bf7ea46b..31ac04be782f80f48a87c75e42c5092f99e59446 100644
(file)
--- a/
tools/ioemu/hw/pci.c
+++ b/
tools/ioemu/hw/pci.c
@@
-101,7
+101,7
@@
int pci_device_load(PCIDevice *s, QEMUFile *f)
int i;
qemu_get_buffer(f, &irq_state, 1);
for (i = 0; i < 4; i++)
- pci_set_irq(s, i,
!!(irq_state >> i)
);
+ pci_set_irq(s, i,
(irq_state >> i) & 1
);
}
return 0;
}