public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Lennert Buytenhek <buytenh@wantstofly.org>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	kvm@vger.kernel.org, Dirk Teurlings <dirk@upexia.nl>
Subject: Re: graphics card pci passthrough success report
Date: Thu, 13 Sep 2012 19:22:02 +0200	[thread overview]
Message-ID: <20120913172202.GL778@wantstofly.org> (raw)
In-Reply-To: <1347555907.24938.286.camel@ul30vt.home>

On Thu, Sep 13, 2012 at 11:05:07AM -0600, Alex Williamson wrote:

> > > > - Apply the hacky patch at the end of this mail to SeaBIOS to
> > > >   always skip initialising the Radeon's option ROMs, or the VM
> > > >   would hang inside the Radeon option ROM if you boot the VM
> > > >   without the default cirrus video.
> > > 
> > > A better way to handle that would probably be to add an pci passthrough
> > > config option to not expose the rom to the guest.
> > > 
> > > Any clue *why* the rom doesn't run?
> > 
> > No idea, we didn't look into that -- this was just a one afternoon
> > hacking session.
> 
> Thanks for the report.  Spawned by your success, I tested a Radeon HD
> 5450 using VFIO based device assignment.  I can get it to work on
> Windows XP, with no changes (from the version I'll post soon),

Yay!


> but Win7 dies (still need to play around more with your suggestions
> of cpu type).

ACK.  That's a nasty one, don't ask how we found that out...

Note that the bluescreen I described when the cpu type is wrong only
actually happened for us if the AMD drivers were installed in the
VM -- maybe you can try without AMD drivers to see if that makes it
go away.  If you still have a bluescreen without the AMD drivers
installed, it's probably a different issue.


> For skipping the option rom, is it sufficient to not expose it
> (rombar=0) or does the guest OS driver need it as well?

I don't actually know.  Something to try out when we get round to
testing this again, I suppose..


cheers,
Lennert

  reply	other threads:[~2012-09-13 17:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 15:50 graphics card pci passthrough success report Lennert Buytenhek
2012-09-13  5:55 ` Gerd Hoffmann
2012-09-13  8:39   ` Jan Kiszka
2012-09-13  9:40   ` Lennert Buytenhek
2012-09-13 17:05     ` Alex Williamson
2012-09-13 17:22       ` Lennert Buytenhek [this message]
2012-11-12 15:19 ` Vince Scott

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=20120913172202.GL778@wantstofly.org \
    --to=buytenh@wantstofly.org \
    --cc=alex.williamson@redhat.com \
    --cc=dirk@upexia.nl \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox