qemu-devel
[Top][All Lists]
Advanced

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

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


From: Chen, Tiejun
Subject: Re: [Qemu-devel] [v3][PATCH 4/5] xen, gfx passthrough: create host bridge to passthrough
Date: Wed, 28 May 2014 01:58:01 +0000

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of
> Stefano Stabellini
> Sent: Wednesday, May 28, 2014 2:05 AM
> To: Chen, Tiejun
> Cc: address@hidden; address@hidden;
> address@hidden; address@hidden; Kay, Allen M;
> address@hidden; address@hidden; Zhang, Yang Z;
> address@hidden; address@hidden
> 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 <address@hidden>
> > ---
> > 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

[Prev in Thread] Current Thread [Next in Thread]