public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Avi Kivity <avi@qumranet.com>
Cc: Amit Shah <amit.shah@qumranet.com>,
	"Han, Weidong" <weidong.han@intel.com>,
	kvm@vger.kernel.org, Ben-Ami Yassour1 <BENAMI@il.ibm.com>,
	"Kay, Allen M" <allen.m.kay@intel.com>,
	chrisw@redhat.com
Subject: Re: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guest
Date: Wed, 4 Jun 2008 19:11:43 +0300	[thread overview]
Message-ID: <20080604161143.GB7089@il.ibm.com> (raw)
In-Reply-To: <4846AC81.5090304@qumranet.com>

On Wed, Jun 04, 2008 at 05:53:53PM +0300, Avi Kivity wrote:

> The right thing is for kvm to claim the device.  It's conceptually
> the right thing; kvm _is_ the device driver for that device, through
> the guest it is running.

I agree. A related issue is what to do if the user wants to
pass-through a device that is already claimed by another
driver. Following your comment to its logical conclusion, we should
error out, not remove the original driver somehow---imagine the mayhem
if the user loaded a module and it happily went along and removed some
other module that happened to drive the same device.

Cheers,
Muli

  parent reply	other threads:[~2008-06-04 18:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02  6:46 [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guest Amit Shah
2008-06-02  7:18 ` Han, Weidong
2008-06-02  8:11   ` Amit Shah
2008-06-04 14:19     ` Avi Kivity
2008-06-04 14:43       ` Amit Shah
2008-06-04 14:53         ` Avi Kivity
2008-06-04 15:53           ` Amit Shah
2008-06-04 16:11           ` Muli Ben-Yehuda [this message]
2008-06-02 13:57 ` Anthony Liguori
2008-06-02 17:07   ` Amit Shah
2008-06-02 13:58 ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2008-07-22 12:13 [PATCH 4/4] KVM: Device assignemnt with VT-d Ben-Ami Yassour
2008-07-22 12:18 ` device assignment - userspace part Ben-Ami Yassour
2008-07-22 12:18   ` [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guest Ben-Ami Yassour
2008-07-28 16:26 [PATCH 5/5] This patch extends the VT-d driver to support KVM Ben-Ami Yassour
2008-07-28 16:32 ` Device assignment - userspace part Ben-Ami Yassour
2008-07-28 16:32   ` [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guest Ben-Ami Yassour
2008-08-01  3:09     ` Han, Weidong
2008-08-05  9:41       ` Ben-Ami Yassour

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=20080604161143.GB7089@il.ibm.com \
    --to=muli@il.ibm.com \
    --cc=BENAMI@il.ibm.com \
    --cc=allen.m.kay@intel.com \
    --cc=amit.shah@qumranet.com \
    --cc=avi@qumranet.com \
    --cc=chrisw@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=weidong.han@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