From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordan Bobic Subject: Re: Cannot start Fedora 19 HVM domU with VGA passthru Date: Thu, 18 Jul 2013 09:46:00 +0100 Message-ID: <6d8cfa90cde86eca5915ff398872b459@mail.shatteredsilicon.net> References: <51E6B95E.3020500@gmail.com> <20130717215625.GL2924@reaktio.net> <51E7A94E.50005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51E7A94E.50005@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: singapore.mr.teo.en.ming@gmail.com Cc: xen-users@lists.xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 18 Jul 2013 16:37:34 +0800, "Singapore Citizen Mr. Teo En Ming (Zhang Enming)" wrote: > Although Fedora 19 HVM domU with VGA passthrough cannot start, Debian > 7.1.0 amd64 HVM domU with VGA passthrough can start. In Debian 7.1.0 > amd64 HVM domU with VGA passthrough, Intel HD Graphics 4600 is listed > in lspci -vvv. Please refer to lspci.txt. It is strange that no > kernel > module is being loaded for Intel HD Graphics 4600. There is no > "Kernel > driver in use" statement after VGA compatible controller: Intel > Corporation Haswell Integrated Graphics Controller (rev 06) (prog-if > 00 [VGA controller]). > > No kernel driver is seen in lsmod. Please refer to lsmod.txt > > When I tried to load the kernel module by executing "modprobe i915", > it complains "no such device". > > ERROR: could not insert 'i915': No such device > > So is my Intel HD Graphics 4600 VGA Passthrough to Debian 7.1.0 amd64 > HVM domU considered successful since the i915 driver cannot be > loaded? > > Thank you very much. If you have a driver in dom0 claiming the device (other than the xen-pciback driver), you cannot pass through that device. If you do lspci -ccc on F19 and you see the driver in use for that device being something other than xen-pciback, that would explain why you can't pass it through. Also, did you first do xl pci-assignable-add for that device? This attempts to detach the device from it's current driver but doesn't always work especially for GPUs. The only solution is blacklist the driver for the device in dom0. The downside is that you cannot run a GUI in dom0 on that device. Gordan