All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Martin Wolf <mwolf@adiumentum.com>
Cc: kvm@vger.kernel.org
Subject: Re: vga passthrough // questions about pci passthrough
Date: Wed, 18 Jul 2012 11:26:12 +0200	[thread overview]
Message-ID: <50068134.4060306@siemens.com> (raw)
In-Reply-To: <50064D87.2090809@adiumentum.com>

On 2012-07-18 07:45, Martin Wolf wrote:
> Hello,
> 
> i was able to passthrough an AMD 7870 videocard to my win7 guest machine.

Would you add it to http://www.linux-kvm.org/page/VGA_device_assignment?

> 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)

Can you report (=> kernel log) which MSRs are unknown to KVM?

> 
> 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?

Which versions of kernel and qemu-kvm are involved via your distro? Can
you retry with latest Linux (3.5-rcX) / lastest qemu-kvm? Maybe
something got fixed meanwhile.

In general, there are many adapters that require special procedures to
perform resets. This one may fall into that category as well.

> 
> 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?

Any further details about the error? Does the adapter work with a Linux
guest or provide more information that way?

Jan


-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux


  reply	other threads:[~2012-07-18  9:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18  5:45 vga passthrough // questions about pci passthrough Martin Wolf
2012-07-18  9:26 ` Jan Kiszka [this message]
2012-07-18 12:08   ` Martin Wolf
2012-07-18 12:37     ` Martin Wolf
2012-07-18 14:23       ` Alex Williamson
2012-07-19 14:54         ` Martin Wolf
2012-07-19 16:13           ` Jan Kiszka
2012-07-19 16:16           ` Alex Williamson
2012-09-27 11:19             ` Martin Wolf
2012-09-27 17:56               ` Alex Williamson
2012-09-27 18:43                 ` Martin Wolf
2012-09-27 19:18                   ` Alex Williamson
2012-09-27 19:37                     ` Martin Wolf
2012-09-27 20:46                       ` Alex Williamson
2012-09-28  5:15                         ` Martin Wolf
2012-09-28  8:12                     ` Jan Kiszka
2012-09-28 14:45                       ` Martin Wolf
2012-09-28 15:50                       ` Alex Williamson
2012-09-28 16:29                         ` Jan Kiszka
2012-10-02  8:22                           ` Martin Wolf
2012-12-13 22:47                             ` Erik Hardesty
  -- strict thread matches above, loose matches on Subject: below --
2012-09-12  7:31 YunQiang Su

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50068134.4060306@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=mwolf@adiumentum.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.