From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnn5P-0002tV-3M for qemu-devel@nongnu.org; Fri, 23 May 2014 06:52:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wnn5J-0006cP-RI for qemu-devel@nongnu.org; Fri, 23 May 2014 06:52:27 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:28962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnn5J-0006c8-Mo for qemu-devel@nongnu.org; Fri, 23 May 2014 06:52:21 -0400 Date: Fri, 23 May 2014 11:52:19 +0100 From: Anthony PERARD Message-ID: <20140523105219.GG4121@perard.uk.xensource.com> References: <1400737176.25874.10.camel@nilsson.home.kraxel.org> <1400741081.25874.38.camel@nilsson.home.kraxel.org> <20140522112532.GA31819@redhat.com> <20140522162015.5ec2b118@nial.usersys.redhat.com> <20140523093815.7652f615@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20140523093815.7652f615@thinkpad> Subject: Re: [Qemu-devel] [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: "peter.maydell@linaro.org" , "xen-devel@lists.xensource.com" , "stefano.stabellini@eu.citrix.com" , "Michael S. Tsirkin" , "Kay, Allen M" , "Kelly.Zytaruk@amd.com" , "qemu-devel@nongnu.org" , Gerd Hoffmann , "anthony@codemonkey.ws" , "Zhang, Yang Z" , "Chen, Tiejun" On Fri, May 23, 2014 at 09:38:15AM +0200, Igor Mammedov wrote: > On Fri, 23 May 2014 01:18:33 +0000 > "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', 'xen-platform,addr=0x3'] > > > > Then, > > > > tchen0@tchen0-linux:~/workspace$ sudo xl cr domu-cfg > > Parsing config from domu-cfg > > libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set > > libxl: error: libxl_create.c:1277:domcreate_attach_pci: libxl_device_pci_add failed: -3 > > tchen0@tchen0-linux:~/workspace$ cat /var/log/xen/qemu-dm-HVM.log > > char device redirected to /dev/pts/40 (label serial0) > > acpi_pcihp_init > > qemu: terminating on signal 1 from pid 24621 > > it looks like compat property "acpi-pci-hotplug-with-bridge-support" > which is defined as 'off' for 'xenfv' machine is not applied for > some reason. > > I'd suggest to investigate a reason why compat properties don't work > for xenfv machine. This is because, to be able to remove the xen-platform device, we switch the -machine from xenfv to pc,accel=xen. So in that case ,the compat property is not applied... -- Anthony PERARD From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: Re: [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD Date: Fri, 23 May 2014 11:52:19 +0100 Message-ID: <20140523105219.GG4121@perard.uk.xensource.com> References: <1400737176.25874.10.camel@nilsson.home.kraxel.org> <1400741081.25874.38.camel@nilsson.home.kraxel.org> <20140522112532.GA31819@redhat.com> <20140522162015.5ec2b118@nial.usersys.redhat.com> <20140523093815.7652f615@thinkpad> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <20140523093815.7652f615@thinkpad> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Igor Mammedov Cc: "peter.maydell@linaro.org" , "xen-devel@lists.xensource.com" , "stefano.stabellini@eu.citrix.com" , "Michael S. Tsirkin" , "Kay, Allen M" , "Kelly.Zytaruk@amd.com" , "qemu-devel@nongnu.org" , Gerd Hoffmann , "anthony@codemonkey.ws" , "Zhang, Yang Z" , "Chen, Tiejun" List-Id: xen-devel@lists.xenproject.org On Fri, May 23, 2014 at 09:38:15AM +0200, Igor Mammedov wrote: > On Fri, 23 May 2014 01:18:33 +0000 > "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', 'xen-platform,addr=0x3'] > > > > Then, > > > > tchen0@tchen0-linux:~/workspace$ sudo xl cr domu-cfg > > Parsing config from domu-cfg > > libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set > > libxl: error: libxl_create.c:1277:domcreate_attach_pci: libxl_device_pci_add failed: -3 > > tchen0@tchen0-linux:~/workspace$ cat /var/log/xen/qemu-dm-HVM.log > > char device redirected to /dev/pts/40 (label serial0) > > acpi_pcihp_init > > qemu: terminating on signal 1 from pid 24621 > > it looks like compat property "acpi-pci-hotplug-with-bridge-support" > which is defined as 'off' for 'xenfv' machine is not applied for > some reason. > > I'd suggest to investigate a reason why compat properties don't work > for xenfv machine. This is because, to be able to remove the xen-platform device, we switch the -machine from xenfv to pc,accel=xen. So in that case ,the compat property is not applied... -- Anthony PERARD