From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnoOk-0000Et-8p for qemu-devel@nongnu.org; Fri, 23 May 2014 08:16:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnoOf-00039g-LW for qemu-devel@nongnu.org; Fri, 23 May 2014 08:16:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnoOf-00039c-D6 for qemu-devel@nongnu.org; Fri, 23 May 2014 08:16:25 -0400 Date: Fri, 23 May 2014 14:16:05 +0200 From: Igor Mammedov Message-ID: <20140523141605.29d48667@thinkpad> In-Reply-To: <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> <20140523105219.GG4121@perard.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" , "Zhang, Yang Z" , "Chen, Tiejun" 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 +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... I've just posted a patch that should fix "pc,accel=xen" case, please review. > -- > Anthony PERARD > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel -- Regards, Igor From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Mammedov Subject: Re: [Xen-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve 00:02.0 for INTEL IGD Date: Fri, 23 May 2014 14:16:05 +0200 Message-ID: <20140523141605.29d48667@thinkpad> 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 Content-Transfer-Encoding: 7bit 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" , "Zhang, Yang Z" , "Chen, Tiejun" List-Id: xen-devel@lists.xenproject.org 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 +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... I've just posted a patch that should fix "pc,accel=xen" case, please review. > -- > Anthony PERARD > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel -- Regards, Igor