From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark McLoughlin Subject: [PATCH 09/18] kvm: qemu: device-assignment: add assigned_dev_update_irq() prototype Date: Thu, 15 Jan 2009 13:47:33 +0000 Message-ID: <1232027262-21487-9-git-send-email-markmc@redhat.com> References: <1232027262-21487-1-git-send-email-markmc@redhat.com> <1232027262-21487-2-git-send-email-markmc@redhat.com> <1232027262-21487-3-git-send-email-markmc@redhat.com> <1232027262-21487-4-git-send-email-markmc@redhat.com> <1232027262-21487-5-git-send-email-markmc@redhat.com> <1232027262-21487-6-git-send-email-markmc@redhat.com> <1232027262-21487-7-git-send-email-markmc@redhat.com> <1232027262-21487-8-git-send-email-markmc@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, Mark McLoughlin To: avi@redhat.com Return-path: Received: from mail20.svc.cra.dublin.eircom.net ([159.134.118.221]:45774 "HELO mail20.svc.cra.dublin.eircom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757662AbZAONrp (ORCPT ); Thu, 15 Jan 2009 08:47:45 -0500 In-Reply-To: <1232027262-21487-8-git-send-email-markmc@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: =46ixes: qemu/hw/device-assignment.c:494: warning: no previous prototype for =E2= =80=98assigned_dev_update_irq=E2=80=99 Signed-off-by: Mark McLoughlin --- qemu/hw/device-assignment.h | 1 + qemu/hw/pci.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu/hw/device-assignment.h b/qemu/hw/device-assignment.h index a565948..8b3b105 100644 --- a/qemu/hw/device-assignment.h +++ b/qemu/hw/device-assignment.h @@ -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_dev= ices); ram_addr_t assigned_dev_load_option_roms(ram_addr_t rom_base_offset); +void assigned_dev_update_irq(PCIDevice *d); =20 #define MAX_DEV_ASSIGN_CMDLINE 8 =20 diff --git a/qemu/hw/pci.c b/qemu/hw/pci.c index ae5dd53..6004904 100644 --- a/qemu/hw/pci.c +++ b/qemu/hw/pci.c @@ -28,6 +28,7 @@ #include "virtio-net.h" #include "pc.h" #include "qemu-kvm.h" +#include "device-assignment.h" =20 //#define DEBUG_PCI =20 @@ -51,7 +52,6 @@ struct PCIBus { =20 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); =20 target_phys_addr_t pci_mem_base; static uint16_t pci_default_sub_vendor_id =3D PCI_SUBVENDOR_ID_REDHAT_= QUMRANET; --=20 1.6.0.6