From: Avi Kivity <avi@qumranet.com>
To: arnd@arndb.de
Cc: virtualization@lists.linux-foundation.org
Subject: Re: [RFC 0/4] Using a generic bus_type for virtio
Date: Sun, 08 Jul 2007 12:42:19 +0300 [thread overview]
Message-ID: <4690B17B.9010408@qumranet.com> (raw)
In-Reply-To: <20070706124200.988637662@arndb.de>
arnd@arndb.de wrote:
> This is a subject that came up in the virtio BOF session
> at OLS. I decided to go forward and implement something
> that I like, based on the latest virtio proposal at the
> time, which was draft III.
>
> It's not a drop-in replacement, because it's missing a
> host implementation. I first started my own, which is
> not done yet, but wanted to do one for lguest and one
> for emulated PCI next. It's also entirely untested.
>
> As things evolved, draft IV is completely different, and
> these patches don't make sense any more on them, because
> there is no longer the concept of a virtio_device, but
> instead there are devices that have an arbitrary number
> of virtqueue structures.
>
> I'd still like to discuss my approach to see if there is
> reason to continue down that road, so I'm posting what
> I have right now.
>
> I think among the options we have to go on are:
>
> 1. screw the virtio_bus, and let every host do its own
> stuff -- no autoloading, standalone drivers, chardev
> host etc.
>
>
That's a bit against the spirit of virtio. I think that the control
path will become quite large over time, so it makes sense to share as
much as possible.
> 2. get virtio_device back from the dead, and allow it
> to have multiple virtqueues, either two or an unlimited
> number.
>
This is the best option IMO.
> 3. screw the multiple-virtqueue idea, go back to the
> draft III stuff with my changes.
>
I'm sure Rusty will just love this one.
4. Delegate the responsibility for extracting the queues to
hypervisor-specific code, but keep the rest shared.
Just for completeness; option 2 is better.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2007-07-08 9:42 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-06 12:42 [RFC 0/4] Using a generic bus_type for virtio arnd
2007-07-06 12:42 ` [RFC 1/4] New virtio bus driver arnd
2007-07-08 9:59 ` Avi Kivity
2007-07-08 15:29 ` Arnd Bergmann
2007-07-08 15:48 ` Avi Kivity
2007-07-08 20:29 ` Arnd Bergmann
2007-07-08 23:42 ` Rusty Russell
2007-07-09 6:49 ` Avi Kivity
2007-07-09 11:18 ` Arnd Bergmann
2007-07-09 11:41 ` Avi Kivity
2007-07-09 11:38 ` Arnd Bergmann
2007-07-09 12:09 ` Avi Kivity
2007-07-09 14:24 ` Arnd Bergmann
2007-07-09 14:56 ` Avi Kivity
2007-07-09 16:33 ` Arnd Bergmann
2007-07-10 1:53 ` Rusty Russell
2007-07-10 7:56 ` Avi Kivity
2007-07-10 1:17 ` Rusty Russell
2007-07-10 6:06 ` Avi Kivity
2007-07-06 12:42 ` [RFC 2/4] Convert virtio_net to new virtio bus arnd
2007-07-06 12:42 ` [RFC 3/4] Convert virtio_blk " arnd
2007-07-06 12:42 ` [RFC 4/4] Example virtio host implementation, using chardev arnd
2007-07-08 2:15 ` [RFC 0/4] Using a generic bus_type for virtio Rusty Russell
2007-07-08 9:45 ` Avi Kivity
2007-07-08 15:55 ` Arnd Bergmann
2007-07-08 9:42 ` Avi Kivity [this message]
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=4690B17B.9010408@qumranet.com \
--to=avi@qumranet.com \
--cc=arnd@arndb.de \
--cc=virtualization@lists.linux-foundation.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;
as well as URLs for NNTP newsgroup(s).