Re: [Qemu-devel] [PATCH RFC V3 04/12] xen: Add the Xen platform pci device

2010-09-23 Thread Isaku Yamahata
On Fri, Sep 17, 2010 at 12:14:59PM +0100, anthony.per...@citrix.com wrote: > +static uint32_t platform_mmio_read(void *opaque, target_phys_addr_t addr) > +{ > +static int warnings = 0; > + > +if (warnings < 5) { > +DPRINTF("Warning: attempted read from physical address " > +

Re: [Qemu-devel] [PATCH RFC V3 04/12] xen: Add the Xen platform pci device

2010-09-23 Thread Isaku Yamahata
On Fri, Sep 17, 2010 at 12:14:59PM +0100, anthony.per...@citrix.com wrote: > +static int xen_platform_initfn(PCIDevice *dev) > +{ > +PCIXenPlatformState *d = DO_UPCAST(PCIXenPlatformState, pci_dev, dev); > +uint8_t *pci_conf; > + > +pci_conf = d->pci_dev.config; > + > +pci_config_se

Re: [Qemu-devel] [PATCH RFC V3 04/12] xen: Add the Xen platform pci device

2010-09-17 Thread Blue Swirl
On Fri, Sep 17, 2010 at 11:14 AM, wrote: > From: Anthony PERARD > > Introduce a new emulated PCI device, specific to fully virtualized Xen > guests.  The device is necessary for PV on HVM drivers to work. > > Signed-off-by: Anthony PERARD > Signed-off-by: Stefano Stabellini > --- >  Makefile.t

[Qemu-devel] [PATCH RFC V3 04/12] xen: Add the Xen platform pci device

2010-09-17 Thread anthony . perard
From: Anthony PERARD Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by: Anthony PERARD Signed-off-by: Stefano Stabellini --- Makefile.target |1 + hw/hw.h |3 + hw/pci_id