Received: from eggs.gnu.org ([208.118.235.92]:48109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPXZa-0002n5-8s for qemu-devel@nongnu.org; Tue, 09 Apr 2013 08:22:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPXZX-0002tk-A0 for qemu-devel@nongnu.org; Tue, 09 Apr 2013 08:22:50 -0400 Received: from karen.lavabit.com ([72.249.41.33]:56053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPXZX-0002tG-5d for qemu-devel@nongnu.org; Tue, 09 Apr 2013 08:22:47 -0400 Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10]) by karen.lavabit.com (Postfix) with ESMTP id EA6D011BA71 for ; Tue, 9 Apr 2013 07:22:45 -0500 (CDT) Received: from lavabit.com (93.184.66.138.vnet.sk [93.184.66.138]) by lavabit.com with ESMTP id EINQUPVJH1KN for ; Tue, 09 Apr 2013 07:22:45 -0500 Message-ID: <29682.93.184.66.138.1365510165.squirrel@lavabit.com> Date: Tue, 9 Apr 2013 08:22:45 -0400 (EDT) From: deniv@lavabit.com MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] VFIO-VGA Issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and stops. Since the display didn't light up, I couldn't see how far Win 7 boot went. For a Linux guest I tried redirecting kernel messages to serial console, but there was nothing (qemu stops even before kernel start?). Also, this GPU is kinda troublesome: it doesn't work with the proprietary driver if VT-d is enabled in BIOS (boot process stops with "dmar: DRHD: handling fault status reg 3"). The GPU works with the FOSS driver, though= . Could this somehow be related to the passthrough issue? Anyway, VT-d in pci-assign mode works for network adapters on this host. It runs kernel 3.9.0-rc5 (with vfio-vga enabled), qemu git from yesterday= , and seabios 1.7.2. The host has no driver installed for the GPU. Before assiging it to qemu I'd run "echo '1002 683f' > /sys/bus/pci/drivers/vfio-pci/new_id" and the same for the associated HDM= I device. Command line: qemu-kvm -machine q35,accel=3Dkvm \ -cpu host -smp 4 -m 2G \ -vga none -display none \ -kernel /kvm/kernel-3.7.8 -append 'root=3D/dev/vda console=3DttyS0' \ -drive index=3D0,media=3Ddisk,cache=3Dnone,if=3Dvirtio,aio=3Dnative,file=3D/dev/= vg3/gpu \ -device vfio-pci,host=3D01:00.0,x-vga=3Don \ -device vfio-pci,host=3D01:00.1 \ -serial telnet:127.0.0.1:52990,server