From: Amit Shah <amit.shah@redhat.com>
To: "Han, Weidong" <weidong.han@intel.com>
Cc: "Yang, Sheng" <sheng.yang@intel.com>,
kvm@vger.kernel.org, "Avi Kivity" <avi@redhat.com>,
benami@il.ibm.com, muli@il.ibm.com, "Kay,
Allen M" <allen.m.kay@intel.com>,
"Zhang, Xiantao" <xiantao.zhang@intel.com>
Subject: Re: Remaining passthrough/VT-d tasks list
Date: Wed, 24 Sep 2008 15:26:08 +0530 [thread overview]
Message-ID: <200809241526.08156.amit.shah@redhat.com> (raw)
In-Reply-To: <0122C7C995D32147B66BF4F440D3016301C4A061@pdsmsx415.ccr.corp.intel.com>
* On Wednesday 24 Sep 2008 14:08:14 Han, Weidong wrote:
> Amit Shah wrote:
> > * On Wednesday 24 Sep 2008 13:21:25 Han, Weidong wrote:
> >> Amit Shah wrote:
> >>>> - Add dummy driver to hide/unbind passthrough device from
> >>>> host kernel
> >>>
> >>> This isn't needed; we currently don't assign the device to the guest
> >>> if we find that a driver is already loaded. I intend to change it to
> >>> failing guest start altogether in case we find a module already
> >>> using a device. When a guest exits, we release all the structures
> >>> and hence even unloading kvm is not needed to reclaim the device on
> >>> the host side.
> >>
> >> This task needn't targe 2.6.28. For long term, we need it to make
> >> device assignment more user friendly.
> >
> > How is the current scheme not user friendly? Or, how will adding a
> > "dummy driver" be more user friendly?
>
> We had some discussion on this few months ago. Currently, users need to
> remove device driver before assignment. If there are more than one same
> type devices, removing driver makes them cannot work at the same time,
> even though user just want to assign one of them to guest. Note that not
> all drivers support unbind function. If we can provide a mechanism to
> hide single device independently, e.g, implement a dummy driver to own
> devices that user want to assign to guest. I think it's more friendly to
> end user than remove/unbind driver manually.
This needs a change in the driver core and it definitely won't be solved by
having a dummy device. We have to have a way to signal to modules that a
particular device will now be owned by a different module, even if the
current module thinks it is the sole owner.
next prev parent reply other threads:[~2008-09-24 9:59 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 6:15 Remaining passthrough/VT-d tasks list Han, Weidong
2008-09-24 6:31 ` Yang, Sheng
2008-09-24 6:58 ` Zhang, Xiantao
2008-09-24 7:41 ` Amit Shah
2008-09-24 7:51 ` Han, Weidong
2008-09-24 8:02 ` Amit Shah
2008-09-24 8:38 ` Han, Weidong
2008-09-24 8:49 ` Avi Kivity
2008-09-24 9:56 ` Amit Shah [this message]
2008-09-24 12:25 ` Han, Weidong
2008-09-24 8:46 ` Avi Kivity
2008-09-24 9:58 ` Amit Shah
2008-09-24 10:46 ` Avi Kivity
2008-09-24 14:46 ` Han, Weidong
2008-09-24 8:38 ` Avi Kivity
2008-09-24 8:46 ` Yang, Sheng
2008-09-27 9:15 ` Yang, Sheng
2008-09-27 9:49 ` Avi Kivity
2008-09-27 10:09 ` Jan Kiszka
2008-09-27 10:16 ` Avi Kivity
2008-09-28 6:03 ` Muli Ben-Yehuda
2008-09-28 1:48 ` Tian, Kevin
2008-09-28 2:03 ` Dong, Eddie
2008-09-28 2:29 ` Tian, Kevin
2008-09-28 4:22 ` Avi Kivity
2008-09-28 4:50 ` Tian, Kevin
2008-09-28 5:04 ` Avi Kivity
2008-09-28 5:17 ` Yang, Sheng
2008-10-05 10:18 ` Avi Kivity
2008-09-28 5:54 ` Yang, Sheng
2008-09-24 8:34 ` Avi Kivity
2008-09-24 8:42 ` Yang, Sheng
2008-09-24 8:53 ` Avi Kivity
2008-09-24 9:08 ` Yang, Sheng
2008-09-24 9:22 ` Avi Kivity
2008-09-24 9:43 ` Yang, Sheng
2008-09-24 9:51 ` Avi Kivity
2008-09-28 6:09 ` Yang, Sheng
2008-09-24 9:40 ` Amit Shah
2008-09-24 9:46 ` Avi Kivity
2008-09-24 15:39 ` Dong, Eddie
2008-09-27 10:11 ` Avi Kivity
2008-09-28 2:28 ` Dong, Eddie
2008-09-28 4:25 ` Avi Kivity
2008-09-28 5:54 ` Dong, Eddie
2008-09-24 8:39 ` Avi Kivity
2008-09-24 8:50 ` Han, Weidong
2008-09-24 9:12 ` Avi Kivity
2008-09-24 15:12 ` Anthony Liguori
2008-09-24 15:38 ` Avi Kivity
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=200809241526.08156.amit.shah@redhat.com \
--to=amit.shah@redhat.com \
--cc=allen.m.kay@intel.com \
--cc=avi@redhat.com \
--cc=benami@il.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=muli@il.ibm.com \
--cc=sheng.yang@intel.com \
--cc=weidong.han@intel.com \
--cc=xiantao.zhang@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 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.