> -----Original Message-----
> From: qemu-devel-bounces+tiejun.chen=intel....@nongnu.org
> [mailto:qemu-devel-bounces+tiejun.chen=intel....@nongnu.org] On Behalf Of
> Stefano Stabellini
> Sent: Wednesday, May 28, 2014 2:05 AM
> To: Chen, Tiejun
> Cc: peter.mayd...@linaro.org; xen-de...@lists.xensource.com;
> m...@redhat.com; stefano.stabell...@eu.citrix.com; Kay, Allen M;
> qemu-devel@nongnu.org; kelly.zyta...@amd.com; Zhang, Yang Z;
> anth...@codemonkey.ws; anthony.per...@citrix.com
> Subject: Re: [Qemu-devel] [v3][PATCH 4/5] xen, gfx passthrough: create host
> bridge to passthrough
> 
> On Mon, 26 May 2014, Tiejun Chen wrote:
> > Implement that pci host bridge to specific to passthrough. Actually
> > thsi just inherit the standard one.
> >
> > Signed-off-by: Tiejun Chen <tiejun.c...@intel.com>
> > ---
> > v3:
> >
> > * Just fix this patch head description typo.
> >
> > v2:
> >
> > * New patch.
> >

[snip]

> >  PCIBus *i440fx_init(PCII440FXState **pi440fx_state,
> >                      int *piix3_devfn,
> >                      ISABus **isa_bus, qemu_irq *pic, @@ -333,8
> > +348,15 @@ PCIBus *i440fx_init(PCII440FXState **pi440fx_state,
> >      object_property_add_child(qdev_get_machine(), "i440fx",
> OBJECT(dev), NULL);
> >      qdev_init_nofail(dev);
> >
> > -    d = pci_create_simple(b, 0, TYPE_I440FX_PCI_DEVICE);
> > -    *pi440fx_state = I440FX_PCI_DEVICE(d);
> > +    if (xen_enabled()) {
> 
> if (xen_enabled() && xen_has_gfx_passthru) ?
> 

Fine.

Thanks
Tiejun

Reply via email to