Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-23 Thread Igor Mammedov
On Fri, 23 May 2014 11:52:19 +0100 Anthony PERARD wrote: > On Fri, May 23, 2014 at 09:38:15AM +0200, Igor Mammedov wrote: > > On Fri, 23 May 2014 01:18:33 + > > "Chen, Tiejun" wrote: > > > With your patch and the following configurations, > > > > > > gfx_passthru=1 > > > pci=["00:02.0@2", "

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-23 Thread Igor Mammedov
On Fri, 23 May 2014 11:52:19 +0100 Anthony PERARD wrote: > On Fri, May 23, 2014 at 09:38:15AM +0200, Igor Mammedov wrote: > > On Fri, 23 May 2014 01:18:33 + > > "Chen, Tiejun" wrote: > > > With your patch and the following configurations, > > > > > > gfx_passthru=1 > > > pci=["00:02.0@2", "

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-23 Thread Gerd Hoffmann
Hi, > Is there a way to specify acpi-pci-hotplug-with-bridge-support=off via > QMP or command line? -global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off cheers, Gerd

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-23 Thread Stefano Stabellini
On Fri, 23 May 2014, Anthony PERARD wrote: > On Fri, May 23, 2014 at 09:38:15AM +0200, Igor Mammedov wrote: > > On Fri, 23 May 2014 01:18:33 + > > "Chen, Tiejun" wrote: > > > With your patch and the following configurations, > > > > > > gfx_passthru=1 > > > pci=["00:02.0@2", "00:1a.0"] > > >

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-23 Thread Anthony PERARD
On Fri, May 23, 2014 at 09:38:15AM +0200, Igor Mammedov wrote: > On Fri, 23 May 2014 01:18:33 + > "Chen, Tiejun" wrote: > > With your patch and the following configurations, > > > > gfx_passthru=1 > > pci=["00:02.0@2", "00:1a.0"] > > xen_platform_pci=0 > > device_model_args_hvm = ['-device',

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-23 Thread Igor Mammedov
On Fri, 23 May 2014 01:18:33 + "Chen, Tiejun" wrote: > > -Original Message- > > From: Igor Mammedov [mailto:imamm...@redhat.com] > > Sent: Thursday, May 22, 2014 10:20 PM > > To: Michael S. Tsirkin > > Cc: Chen, Tiejun; peter.mayd...@linaro.org; xen-de...@lists.xensource.com; > > Dani

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-22 Thread Chen, Tiejun
> -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: Thursday, May 22, 2014 10:20 PM > To: Michael S. Tsirkin > Cc: Chen, Tiejun; peter.mayd...@linaro.org; xen-de...@lists.xensource.com; > Daniel P. Berrange; stefano.stabell...@eu.citrix.com; Kay, Allen M; > kelly

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-22 Thread Igor Mammedov
On Thu, 22 May 2014 14:25:32 +0300 "Michael S. Tsirkin" wrote: > On Thu, May 22, 2014 at 10:50:10AM +, Chen, Tiejun wrote: > > > -Original Message- > > > From: Gerd Hoffmann [mailto:kra...@redhat.com] > > > Sent: Thursday, May 22, 2014 2:45 PM > > > To: Chen, Tiejun > > > Cc: Anthony

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-22 Thread Konrad Rzeszutek Wilk
On Thu, May 22, 2014 at 07:39:36AM +0200, Gerd Hoffmann wrote: > Hi, > > > > According to our discussions, I realize we may have some plans or policies > > > dedicated to how to assign devfn, but to support GFX passthrough for XEN, > > > I > > > think currently it may be a better solution to ad

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-19 Thread Chen, Tiejun
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Friday, May 16, 2014 10:09 PM > To: Chen, Tiejun > Cc: anthony.per...@citrix.com; stefano.stabell...@eu.citrix.com; > m...@redhat.com; kelly.zyta...@amd.com; peter.mayd...@linaro.org; > xen-de...@list

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-19 Thread Chen, Tiejun
> -Original Message- > From: Fabio Fantoni [mailto:fabio.fant...@m2r.biz] > Sent: Monday, May 19, 2014 3:48 PM > To: Gerd Hoffmann; Chen, Tiejun > Cc: peter.mayd...@linaro.org; xen-de...@lists.xensource.com; > m...@redhat.com; Kay, Allen M; stefano.stabell...@eu.citrix.com; > weidong@in

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-19 Thread Zhang, Yang Z
Fabio Fantoni wrote on 2014-05-19: > Il 19/05/2014 08:44, Gerd Hoffmann ha scritto: >>Hi, >>> +/* + * Some video bioses and gfx drivers will assume the bdf >>> of IGD is 00:02.0. + * So user need to set it to 00:02.0 in Xen >>> configure file explicitly, + * otherwise IGD will f

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-19 Thread Fabio Fantoni
Il 19/05/2014 08:44, Gerd Hoffmann ha scritto: Hi, +/* + * Some video bioses and gfx drivers will assume the bdf of IGD is 00:02.0. + * So user need to set it to 00:02.0 in Xen configure file explicitly, + * otherwise IGD will fail to work. + */ +pci_reserve_pci_devfn

Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD

2014-05-16 Thread Konrad Rzeszutek Wilk
On Fri, May 16, 2014 at 06:53:40PM +0800, Tiejun Chen wrote: > Some VBIOSs and drivers assume the IGD BDF (bus:device:function) is > always 00:02.0, so we need to reserves 00:02.0 for assigned IGD in reserve > guest. > > Signed-off-by: Tiejun Chen > Signed-off-by: Yang Zhang > --- > v2: > > *