Displaying 1 result from an estimated 1 matches for "f0fb3e3".
Did you mean:
f0d13e3
2010 Nov 26
1
[PATCH] qemu-xen: support PV on HVM MSIX remapping
...ue is the same used with MSI: if the guest enables an MSIX
passing 0 as vector number, then read the address and use it as pirq
number for the following mapping request to Xen.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
diff --git a/hw/pt-msi.c b/hw/pt-msi.c
index f0fb3e3..b01744e 100644
--- a/hw/pt-msi.c
+++ b/hw/pt-msi.c
@@ -300,6 +300,14 @@ static int pt_msix_update_one(struct pt_dev *dev, int entry_nr)
if ( !entry->flags )
return 0;
+ if (!gvec) {
+ /* if gvec is 0, the guest is asking for a particular pirq that
+ * is passed...