@@ -99,6 +99,7 @@ PCIDevice *init_assigned_device(AssignedDevInfo *adev, PCIBus *bus);
AssignedDevInfo *add_assigned_device(const char *arg);
void add_assigned_devices(PCIBus *bus, const char **devices, int n_devices);
ram_addr_t assigned_dev_load_option_roms(ram_addr_t rom_base_offset);
+void assigned_dev_update_irq(PCIDevice *d);
#define MAX_DEV_ASSIGN_CMDLINE 8
@@ -28,6 +28,7 @@
#include "virtio-net.h"
#include "pc.h"
#include "qemu-kvm.h"
+#include "device-assignment.h"
//#define DEBUG_PCI
@@ -51,7 +52,6 @@ struct PCIBus {
static void pci_update_mappings(PCIDevice *d);
static void pci_set_irq(void *opaque, int irq_num, int level);
-void assigned_dev_update_irq(PCIDevice *d);
target_phys_addr_t pci_mem_base;
static uint16_t pci_default_sub_vendor_id = PCI_SUBVENDOR_ID_REDHAT_QUMRANET;
Fixes: qemu/hw/device-assignment.c:494: warning: no previous prototype for ‘assigned_dev_update_irq’ Signed-off-by: Mark McLoughlin <markmc@redhat.com> --- qemu/hw/device-assignment.h | 1 + qemu/hw/pci.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)