From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andr=E9_Weidemann?= Subject: IRQ issue on graphics card passthrough Date: Sat, 04 Jun 2011 19:50:06 +0200 Message-ID: <4DEA704E.2080504@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:56753 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754435Ab1FDRuc (ORCPT ); Sat, 4 Jun 2011 13:50:32 -0400 Received: from smtp08.web.de ( [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id F33C81A1B5ECF for ; Sat, 4 Jun 2011 19:50:30 +0200 (CEST) Received: from [80.88.21.21] (helo=[192.168.3.167]) by smtp08.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1QSuzW-0008St-00 for kvm@vger.kernel.org; Sat, 04 Jun 2011 19:50:30 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Hi, as mentioned before I have successfully passed a graphics card from a=20 Linux host to VM using qemu-kvm. Shortly after starting the VM and before Windows7 initializes the=20 graphics card, "info pci" looks like this: Bus 0, device 4, function 0: VGA controller: PCI device 1002:6719 IRQ 10. BAR0: 32 bit prefetchable memory at 0xe0000000 [0xefffffff]. BAR2: 32 bit memory at 0xfeba0000 [0xfebbffff]. BAR4: I/O at 0xc000 [0xc0ff]. BAR6: 32 bit memory at 0xffffffffffffffff [0x0001fffe]. id "radeon6950" After Windows has initialized the graphics card, "info pci" lists the=20 following for the graphics card: Bus 0, device 4, function 0: VGA controller: PCI device 1002:6719 IRQ 0. BAR0: 32 bit prefetchable memory at 0xe0000000 [0xefffffff]. BAR2: 32 bit memory at 0xfeba0000 [0xfebbffff]. BAR4: I/O at 0xc000 [0xc0ff]. BAR6: 32 bit memory at 0xffffffffffffffff [0x0001fffe]. id "radeon6950" Notice that the IRQ changed from 10 to 0... The graphics card's IRQ under Windows7 is displayed as: "0xFFFFFFFE (-2)". During another problem of assigning sound cards to a VM, Jan Kiszka ha= s=20 pointed me to a patch that addresses an IRQ issue:=20 http://thread.gmane.org/gmane.comp.emulators.qemu/102540 Unfortuantely it does not help here. What can I do to examine this issue further? Regards Andr=E9