summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorJagannathan Raman2022-06-13 22:26:33 +0200
committerStefan Hajnoczi2022-06-15 17:43:42 +0200
commit08cf3dc611991e9697f62458107e13f2c582869a (patch)
tree074a48604250f4bef72d3986fdb72a3873b5f28d /stubs
parentvfio-user: handle PCI BAR accesses (diff)
downloadqemu-08cf3dc611991e9697f62458107e13f2c582869a.tar.gz
qemu-08cf3dc611991e9697f62458107e13f2c582869a.tar.xz
qemu-08cf3dc611991e9697f62458107e13f2c582869a.zip
vfio-user: handle device interrupts
Forward remote device's interrupts to the guest Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Signed-off-by: John G Johnson <john.g.johnson@oracle.com> Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Message-id: 9523479eaafe050677f4de2af5dd0df18c27cfd9.1655151679.git.jag.raman@oracle.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/meson.build1
-rw-r--r--stubs/vfio-user-obj.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/stubs/meson.build b/stubs/meson.build
index 6f80fec761..d8f3fd5c44 100644
--- a/stubs/meson.build
+++ b/stubs/meson.build
@@ -60,3 +60,4 @@ if have_system
else
stub_ss.add(files('qdev.c'))
endif
+stub_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_false: files('vfio-user-obj.c'))
diff --git a/stubs/vfio-user-obj.c b/stubs/vfio-user-obj.c
new file mode 100644
index 0000000000..79100d768e
--- /dev/null
+++ b/stubs/vfio-user-obj.c
@@ -0,0 +1,6 @@
+#include "qemu/osdep.h"
+#include "hw/remote/vfio-user-obj.h"
+
+void vfu_object_set_bus_irq(PCIBus *pci_bus)
+{
+}