|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] ioemu: Fix load of PCI-device IRQ state a
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211186538 -3600
# Node ID f34f771f9ddd86376dd5796709deb4608d871eb1
# Parent 3a5750f4a7387cd635328449a03bdc0eb4ae9ce6
ioemu: Fix load of PCI-device IRQ state after save/restore.
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/ioemu/hw/pci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 3a5750f4a738 -r f34f771f9ddd tools/ioemu/hw/pci.c
--- a/tools/ioemu/hw/pci.c Mon May 19 09:40:53 2008 +0100
+++ b/tools/ioemu/hw/pci.c Mon May 19 09:42:18 2008 +0100
@@ -101,7 +101,7 @@ int pci_device_load(PCIDevice *s, QEMUFi
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;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] ioemu: Fix load of PCI-device IRQ state after save/restore.,
Xen patchbot-unstable <=
|
|
|
|
|