From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB1yb-00035R-6e for qemu-devel@nongnu.org; Fri, 23 Mar 2012 06:44:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SB1yT-0005xZ-8P for qemu-devel@nongnu.org; Fri, 23 Mar 2012 06:44:08 -0400 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:27838 helo=SMTP.EU.CITRIX.COM) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB1yT-0005xK-2P for qemu-devel@nongnu.org; Fri, 23 Mar 2012 06:44:01 -0400 Date: Fri, 23 Mar 2012 10:44:05 +0000 From: Stefano Stabellini In-Reply-To: <911ff5a9bad427b1975456abb128defa52e443c9.1332430835.git.julien.grall@citrix.com> Message-ID: References: <911ff5a9bad427b1975456abb128defa52e443c9.1332430835.git.julien.grall@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: Re: [Qemu-devel] [QEMU][RFC PATCH 2/6] xen: Add functions to register PCI and IO in Xen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Julien Grall Cc: "xen-devel@lists.xensource.com" , "qemu-devel@nongnu.org" , Stefano Stabellini , Julian Pidancet On Thu, 22 Mar 2012, Julien Grall wrote: > Add interface for the new xen hypercalls > > Signed-off-by: Julien Grall > --- > hw/xen.h | 3 +++ > xen-all.c | 2 ++ > xen-stub.c | 13 +++++++++++++ > 3 files changed, 18 insertions(+), 0 deletions(-) > > diff --git a/hw/xen.h b/hw/xen.h > index b056b13..a76616f 100644 > --- a/hw/xen.h > +++ b/hw/xen.h > @@ -35,6 +35,9 @@ static inline int xen_enabled(void) > int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num); > 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_register_pcidev(PCIDevice *pci_dev); > +void xen_map_iorange(uint64_t addr, uint64_t size, int is_mmio); > +void xen_unmap_iorange(uint64_t addr, uint64_t size, int is_mmio); > void xen_cmos_set_s3_resume(void *opaque, int irq, int level); > > qemu_irq *xen_interrupt_controller_init(void); you should add to this patch the Xen version of these functions too, otherwise it will break Xen builds. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [QEMU][RFC PATCH 2/6] xen: Add functions to register PCI and IO in Xen Date: Fri, 23 Mar 2012 10:44:05 +0000 Message-ID: References: <911ff5a9bad427b1975456abb128defa52e443c9.1332430835.git.julien.grall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <911ff5a9bad427b1975456abb128defa52e443c9.1332430835.git.julien.grall@citrix.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Julien Grall Cc: "xen-devel@lists.xensource.com" , "qemu-devel@nongnu.org" , Stefano Stabellini , Julian Pidancet List-Id: xen-devel@lists.xenproject.org On Thu, 22 Mar 2012, Julien Grall wrote: > Add interface for the new xen hypercalls > > Signed-off-by: Julien Grall > --- > hw/xen.h | 3 +++ > xen-all.c | 2 ++ > xen-stub.c | 13 +++++++++++++ > 3 files changed, 18 insertions(+), 0 deletions(-) > > diff --git a/hw/xen.h b/hw/xen.h > index b056b13..a76616f 100644 > --- a/hw/xen.h > +++ b/hw/xen.h > @@ -35,6 +35,9 @@ static inline int xen_enabled(void) > int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num); > 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_register_pcidev(PCIDevice *pci_dev); > +void xen_map_iorange(uint64_t addr, uint64_t size, int is_mmio); > +void xen_unmap_iorange(uint64_t addr, uint64_t size, int is_mmio); > void xen_cmos_set_s3_resume(void *opaque, int irq, int level); > > qemu_irq *xen_interrupt_controller_init(void); you should add to this patch the Xen version of these functions too, otherwise it will break Xen builds.