public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@sous-sol.org>
To: Alex Williamson <alex.williamson@hp.com>
Cc: kvm <kvm@vger.kernel.org>, Sheng Yang <sheng@linux.intel.com>
Subject: Re: [RFC PATCH] PCI pass-through fixups
Date: Mon, 6 Apr 2009 17:02:10 -0700	[thread overview]
Message-ID: <20090407000210.GL27148@sequoia.sous-sol.org> (raw)
In-Reply-To: <1238789816.15558.399.camel@lappy>

* Alex Williamson (alex.williamson@hp.com) wrote:
> 
> I'm wondering if we need a spot for device specific fixups for PCI
> pass-through.  In the example below, I want to expose a single port of
> an Intel 82571EB quad port copper NIC to a guest.  It works great until
> I shutdown the guest, at which point the guest e1000e driver knows by
> the device ID that the NIC is a quad port, and blindly attempts to
> twiddle some bits on the bridge above it (that doesn't exist).

And what happens?

> Obviously some robustness could be added to the driver, but would it
> make sense to do something like below and automatically remap these
> devices to identical single port device IDs?  Thanks,

Sounds quite fragile to me.

thanks,
-chris

  reply	other threads:[~2009-04-07  0:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 20:16 [RFC PATCH] PCI pass-through fixups Alex Williamson
2009-04-07  0:02 ` Chris Wright [this message]
2009-04-07  6:25   ` Sheng Yang
2009-04-07 14:54     ` Chris Wright
2009-04-07 15:23       ` Alex Williamson
2009-04-07 15:47         ` Chris Wright

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=20090407000210.GL27148@sequoia.sous-sol.org \
    --to=chrisw@sous-sol.org \
    --cc=alex.williamson@hp.com \
    --cc=kvm@vger.kernel.org \
    --cc=sheng@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox