summaryrefslogtreecommitdiff
path: root/xen-stub.c
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2010-07-16 14:55:39 +0100
committerAlexander Graf <agraf@suse.de>2011-05-08 10:10:00 +0200
commit4144530012793e6cd479eaa90cceb1aef0de8158 (patch)
tree03d74f1bff6a92cd502a1752aaf34780f268a44f /xen-stub.c
parent1611977c3d8fdbdac6090cbd1f5555cee4aed6d9 (diff)
piix_pci: Introduces Xen specific call for irq.
This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'xen-stub.c')
-rw-r--r--xen-stub.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/xen-stub.c b/xen-stub.c
index beb982ff5a..dc90f108c3 100644
--- a/xen-stub.c
+++ b/xen-stub.c
@@ -9,6 +9,19 @@
#include "qemu-common.h"
#include "hw/xen.h"
+int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num)
+{
+ return -1;
+}
+
+void xen_piix3_set_irq(void *opaque, int irq_num, int level)
+{
+}
+
+void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len)
+{
+}
+
int xen_init(void)
{
return -ENOSYS;