[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Qemu-devel] [v3][PATCH 4/5] xen, gfx passthrough: create host bridge to passthrough



> -----Original Message-----
> From: qemu-devel-bounces+tiejun.chen=intel.com@xxxxxxxxxx
> [mailto:qemu-devel-bounces+tiejun.chen=intel.com@xxxxxxxxxx] On Behalf Of
> Stefano Stabellini
> Sent: Wednesday, May 28, 2014 2:05 AM
> To: Chen, Tiejun
> Cc: peter.maydell@xxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx;
> mst@xxxxxxxxxx; stefano.stabellini@xxxxxxxxxxxxx; Kay, Allen M;
> qemu-devel@xxxxxxxxxx; Kelly.Zytaruk@xxxxxxx; Zhang, Yang Z;
> anthony@xxxxxxxxxxxxx; anthony.perard@xxxxxxxxxx
> 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.chen@xxxxxxxxx>
> > ---
> > 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.