From: Jean Guyader <jean.guyader@eu.citrix.com>
To: xen-devel <xen-devel@lists.xensource.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH] ioemu-remote: Fix compilation error caused by cs 18128
Date: Thu, 24 Jul 2008 17:34:27 +0100 [thread overview]
Message-ID: <4888AF13.9060603@eu.citrix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
ioemu-remote: Type argument has been removed from xc_physdev_map_pirq{,_msi}()
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
--
Jean Guyader
[-- Attachment #2: fix_compilation_xc_physdev_map_pirq.patch --]
[-- Type: text/plain, Size: 1952 bytes --]
diff --git a/hw/pass-through.c b/hw/pass-through.c
index 1bddbd5..3ff0923 100644
--- a/hw/pass-through.c
+++ b/hw/pass-through.c
@@ -571,8 +569,7 @@ struct pt_dev * register_real_device(PCIBus *e_bus,
int pirq = pci_dev->irq;
machine_irq = pci_dev->irq;
- rc = xc_physdev_map_pirq(xc_handle, domid, MAP_PIRQ_TYPE_GSI,
- machine_irq, &pirq);
+ rc = xc_physdev_map_pirq(xc_handle, domid, machine_irq, &pirq);
if ( rc )
{
diff --git a/hw/pt-msi.c b/hw/pt-msi.c
index d5bd6b7..951cd4b 100644
--- a/hw/pt-msi.c
+++ b/hw/pt-msi.c
@@ -86,10 +86,9 @@ static int pt_msi_setup(struct pt_dev *dev)
return -1;
}
- if ( xc_physdev_map_pirq_msi(xc_handle, domid, MAP_PIRQ_TYPE_MSI,
- AUTO_ASSIGN, &pirq,
- dev->pci_dev->dev << 3 | dev->pci_dev->func,
- dev->pci_dev->bus, 0, 1) )
+ if ( xc_physdev_map_pirq_msi(xc_handle, domid, AUTO_ASSIGN, &pirq,
+ dev->pci_dev->dev << 3 | dev->pci_dev->func,
+ dev->pci_dev->bus, 0, 1) )
{
PT_LOG("error map msi\n");
return -1;
@@ -511,10 +510,9 @@ static int pt_msix_update_one(struct pt_dev *dev, int entry_nr)
/* Check if this entry is already mapped */
if ( entry->pirq == -1 )
{
- ret = xc_physdev_map_pirq_msi(xc_handle, domid, MAP_PIRQ_TYPE_MSI,
- AUTO_ASSIGN, &pirq,
- dev->pci_dev->dev << 3 | dev->pci_dev->func,
- dev->pci_dev->bus, entry_nr, 0);
+ ret = xc_physdev_map_pirq_msi(xc_handle, domid, AUTO_ASSIGN, &pirq,
+ dev->pci_dev->dev << 3 | dev->pci_dev->func,
+ dev->pci_dev->bus, entry_nr, 0);
if ( ret )
{
PT_LOG("error map msix entry %x\n", entry_nr);
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2008-07-24 16:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4888AF13.9060603@eu.citrix.com \
--to=jean.guyader@eu.citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.