From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnnqx-0007Sy-2p for qemu-devel@nongnu.org; Fri, 23 May 2014 07:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wnnqr-0007Dc-SP for qemu-devel@nongnu.org; Fri, 23 May 2014 07:41:35 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:64246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnnqr-0007DY-NL for qemu-devel@nongnu.org; Fri, 23 May 2014 07:41:29 -0400 Date: Fri, 23 May 2014 12:40:51 +0100 From: Stefano Stabellini In-Reply-To: <20140523105219.GG4121@perard.uk.xensource.com> Message-ID: 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> <20140523105219.GG4121@perard.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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: Anthony PERARD Cc: "peter.maydell@linaro.org" , "xen-devel@lists.xensource.com" , "Michael S. Tsirkin" , "stefano.stabellini@eu.citrix.com" , "Kay, Allen M" , "Kelly.Zytaruk@amd.com" , "qemu-devel@nongnu.org" , Gerd Hoffmann , "anthony@codemonkey.ws" , "Chen, Tiejun" , "Zhang, Yang Z" , Igor Mammedov 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 +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... Is there a way to specify acpi-pci-hotplug-with-bridge-support=off via QMP or command line? From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD Date: Fri, 23 May 2014 12:40:51 +0100 Message-ID: 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> <20140523105219.GG4121@perard.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <20140523105219.GG4121@perard.uk.xensource.com> 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: Anthony PERARD Cc: "peter.maydell@linaro.org" , "xen-devel@lists.xensource.com" , "Michael S. Tsirkin" , "stefano.stabellini@eu.citrix.com" , "Kay, Allen M" , "Kelly.Zytaruk@amd.com" , "qemu-devel@nongnu.org" , Gerd Hoffmann , "anthony@codemonkey.ws" , "Chen, Tiejun" , "Zhang, Yang Z" , Igor Mammedov List-Id: xen-devel@lists.xenproject.org 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 +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... Is there a way to specify acpi-pci-hotplug-with-bridge-support=off via QMP or command line?