From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WItfx-0001m0-2X for qemu-devel@nongnu.org; Thu, 27 Feb 2014 00:38:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WItfr-0006DZ-Ve for qemu-devel@nongnu.org; Thu, 27 Feb 2014 00:38:28 -0500 Received: from mga02.intel.com ([134.134.136.20]:59096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WItfr-0006CU-PM for qemu-devel@nongnu.org; Thu, 27 Feb 2014 00:38:23 -0500 From: "Zhang, Yang Z" Date: Thu, 27 Feb 2014 05:38:17 +0000 Message-ID: References: <1392965053-1069-1-git-send-email-yang.z.zhang@intel.com> In-Reply-To: <1392965053-1069-1-git-send-email-yang.z.zhang@intel.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/5] xen: add Intel IGD passthrough support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Cc: "peter.maydell@linaro.org" , "xen-devel@lists.xensource.com" , "stefano.stabellini@eu.citrix.com" , "Kay, Allen M" , "anthony@codemonkey.ws" , "anthony.perard@citrix.com" Zhang, Yang Z wrote on 2014-02-21: > From: Yang Zhang >=20 > The following patches are ported from Xen Qemu-traditional branch > which are adding Intel IGD passthrough supporting to Qemu upstream. >=20 > To pass through IGD to guest, user need to add following lines in Xen > config file: gfx_passthru=3D1 pci=3D['00:02.0@2'] >=20 > Besides, since Xen + Qemu upstream is requiring seabios, user also > need to recompile seabios with CONFIG_OPTIONROMS_DEPLOYED=3Dy to allow > IGD pass through > successfully: > 1. change CONFIG_OPTIONROMS_DEPLOYED=3Dy in file: > xen/tools/firmware/seabios-config 2. recompile the tools >=20 > I have successfully boot Win 7 and RHEL6u4 guests with IGD assigned in > Haswell desktop with Latest Xen + Qemu upstream. >=20 > Yang Zhang (5): > xen, gfx passthrough: basic graphics passthrough support > xen, gfx passthrough: reserve 00:02.0 for INTEL IGD > xen, gfx passthrough: create intel isa bridge > xen, gfx passthrough: support Intel IGD passthrough with VT-D > xen, gfx passthrough: add opregion mapping > configure | 2 +- hw/pci-host/piix.c | =20 > 15 ++ hw/pci/pci.c | 19 ++ hw/xen/Makefile.objs =20 > | 2 +- hw/xen/xen-host-pci-device.c | 5 + > hw/xen/xen-host-pci-device.h | 1 + hw/xen/xen_pt.c | =20 > 10 + hw/xen/xen_pt.h | 13 ++- > hw/xen/xen_pt_config_init.c | 45 +++++- hw/xen/xen_pt_graphics.c =20 > | 407 ++++++++++++++++++++++++++++++++++++++++++ qemu-options.hx =20 > | 9 + vl.c | 8 + 12 files changed, > 532 insertions(+), 4 deletions(-) create mode > 100644 hw/xen/xen_pt_graphics.c Ping. Best regards, Yang From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhang, Yang Z" Subject: Re: [PATCH 0/5] xen: add Intel IGD passthrough support Date: Thu, 27 Feb 2014 05:38:17 +0000 Message-ID: References: <1392965053-1069-1-git-send-email-yang.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1392965053-1069-1-git-send-email-yang.z.zhang@intel.com> Content-Language: en-US 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: "qemu-devel@nongnu.org" Cc: "peter.maydell@linaro.org" , "xen-devel@lists.xensource.com" , "stefano.stabellini@eu.citrix.com" , "Kay, Allen M" , "anthony@codemonkey.ws" , "anthony.perard@citrix.com" List-Id: xen-devel@lists.xenproject.org Zhang, Yang Z wrote on 2014-02-21: > From: Yang Zhang >=20 > The following patches are ported from Xen Qemu-traditional branch > which are adding Intel IGD passthrough supporting to Qemu upstream. >=20 > To pass through IGD to guest, user need to add following lines in Xen > config file: gfx_passthru=3D1 pci=3D['00:02.0@2'] >=20 > Besides, since Xen + Qemu upstream is requiring seabios, user also > need to recompile seabios with CONFIG_OPTIONROMS_DEPLOYED=3Dy to allow > IGD pass through > successfully: > 1. change CONFIG_OPTIONROMS_DEPLOYED=3Dy in file: > xen/tools/firmware/seabios-config 2. recompile the tools >=20 > I have successfully boot Win 7 and RHEL6u4 guests with IGD assigned in > Haswell desktop with Latest Xen + Qemu upstream. >=20 > Yang Zhang (5): > xen, gfx passthrough: basic graphics passthrough support > xen, gfx passthrough: reserve 00:02.0 for INTEL IGD > xen, gfx passthrough: create intel isa bridge > xen, gfx passthrough: support Intel IGD passthrough with VT-D > xen, gfx passthrough: add opregion mapping > configure | 2 +- hw/pci-host/piix.c | =20 > 15 ++ hw/pci/pci.c | 19 ++ hw/xen/Makefile.objs =20 > | 2 +- hw/xen/xen-host-pci-device.c | 5 + > hw/xen/xen-host-pci-device.h | 1 + hw/xen/xen_pt.c | =20 > 10 + hw/xen/xen_pt.h | 13 ++- > hw/xen/xen_pt_config_init.c | 45 +++++- hw/xen/xen_pt_graphics.c =20 > | 407 ++++++++++++++++++++++++++++++++++++++++++ qemu-options.hx =20 > | 9 + vl.c | 8 + 12 files changed, > 532 insertions(+), 4 deletions(-) create mode > 100644 hw/xen/xen_pt_graphics.c Ping. Best regards, Yang