> -----Original Message----- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Thursday, May 22, 2014 7:22 PM > To: Chen, Tiejun > Cc: Anthony PERARD; Daniel P. Berrange; peter.mayd...@linaro.org; > xen-de...@lists.xensource.com; m...@redhat.com; > stefano.stabell...@eu.citrix.com; Kay, Allen M; kelly.zyta...@amd.com; > qemu-devel@nongnu.org; Zhang, Yang Z; anth...@codemonkey.ws > Subject: Re: [Qemu-devel] [v2][PATCH 4/8] xen, gfx passthrough: reserve > 00:02.0 for INTEL IGD > > Hi, > > > After applied your patch, 'xen-platform' is always disabled by default, > > right? > > Only in case -nodefaults is passed on the qemu command line (don't know > whenever libxl does that). > > > gfx_passthru=1 > > pci=["00:02.0@2", "00:1a.0"] > > xen_platform_pci=0 > ^^^^^^^^^^^^^^^^^^ > That line isn't needed ...
Yes, this can work after remove this line: 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 domU has xen-platform again: tchen0@tchen0-HVM-domU:~$ lspci 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) 00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01) 00:04.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04) 00:1f.0 ISA bridge: Intel Corporation Q87 Express LPC Controller (rev 04) > > > device_model_args_hvm = ['-device', 'xen-platform,addr=0x3'] > > That alone should be enough to move away the platform device. > Sure. Thanks Tiejun