From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Wolf Subject: vga passthrough // questions about pci passthrough Date: Wed, 18 Jul 2012 07:45:43 +0200 Message-ID: <50064D87.2090809@adiumentum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.andre-duewel.de ([178.63.55.43]:35196 "EHLO mail.andre-duewel.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675Ab2GRFwi (ORCPT ); Wed, 18 Jul 2012 01:52:38 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.andre-duewel.de (Postfix) with ESMTP id 26E2F113E002 for ; Wed, 18 Jul 2012 07:45:46 +0200 (CEST) Received: from mail.andre-duewel.de ([127.0.0.1]) by localhost (mail.andre-duewel.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BKVE-rS0AYth for ; Wed, 18 Jul 2012 07:45:44 +0200 (CEST) Received: from [192.168.178.28] (p5DD72F99.dip.t-dialin.net [93.215.47.153]) by mail.andre-duewel.de (Postfix) with ESMTPSA id 0C26F113E001 for ; Wed, 18 Jul 2012 07:45:44 +0200 (CEST) Sender: kvm-owner@vger.kernel.org List-ID: Hello, i was able to passthrough an AMD 7870 videocard to my win7 guest machine. my host is ubuntu 12.04 with stock kernel. my system contains: dq67sw q67 mainboard i5-2400s cpu sapphire 7870 amd videocard xonar d2x (problems to passthrough) for full functionality i just needed two options - kernel : iommu=on - kvm module: ignore_msrs=1 (if i would not set it the guest os would crash with a bluescreen) the unigine benchmark ran flawlessly also the benchmark included in windows gave my videocard similar values (7.7) comparable with my native win7 (7.9) now to my questions... 1. is it possible to reset the videocard properly to be able to reboot the vm? 2. the xonar d2x is a very nice audio card, it would be very handy to be able to use it in the vm. in my oppinion the card is a d2 with a pci-e to pci bridge. i tried to passthrough the card alone and with the pci-bridge that was shown though lspci, but i had no success. maybe you guys here have an idea on that topic? thank you for you great work ;)