|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [qemu-xen-unstable] passthrough: let xen choose the pirq
commit 60766b459c41e429a4b2405124b42512ea362984
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date: Fri Nov 19 18:50:43 2010 +0000
passthrough: let xen choose the pirq number
When remapping an interrupt into the guest, let xen choose the pirq,
otherwise we might have to handle possible conflicts.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
hw/pass-through.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/pass-through.c b/hw/pass-through.c
index 014144e..9c5620d 100644
--- a/hw/pass-through.c
+++ b/hw/pass-through.c
@@ -4265,7 +4265,7 @@ static struct pt_dev * register_real_device(PCIBus *e_bus,
if ( PT_MACHINE_IRQ_AUTO == machine_irq )
{
- int pirq = pci_dev->irq;
+ int pirq = -1;
machine_irq = pci_dev->irq;
rc = xc_physdev_map_pirq(xc_handle, domid, machine_irq, &pirq);
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [qemu-xen-unstable] passthrough: let xen choose the pirq number,
Ian Jackson <=
|
|
|
|
|