From: Avi Kivity <avi@qumranet.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: virtualization@lists.linux-foundation.org
Subject: Re: [RFC 1/4] New virtio bus driver
Date: Mon, 09 Jul 2007 15:09:35 +0300 [thread overview]
Message-ID: <4692257F.4070909@qumranet.com> (raw)
In-Reply-To: <200707091338.20288.arnd@arndb.de>
Arnd Bergmann wrote:
> On Monday 09 July 2007, Avi Kivity wrote:
>
>>> The problem with hotplugging devices on PCI is that there is not a good
>>> standard for this yet. The best option we have is probably PCI express
>>> hotplug, but I'm not sure how many legacy operating systems already support
>>> this.
>>>
>> This is indeed a problem. Perhaps we should have a virtqueue for
>> reconfiguration (with a couple of read messages always queued for
>> host-side changes, and a write message sent when the guest reconfigures).
>>
>
> Yes, that would be my preferred solution as well. For devices that need
> reconfiguration capability, one virtqueue for all out-of-band information
> should be enough, with device specific messages.
>
> Why do you think we want to have multiple outstanding read messages?
> I would guess that a single message is enough, you can always requeue
> it after one event gets processed.
>
Suppose there is one message queued. The host reconfigures and sends
the message. A new reconfiguration event now cannot be propagated.
If there are two messages queued, the host can post the updates in the
second message. The guest would then post two new messages (since it
can't tell whether any reconfiguration events occured after the second
message), the host would fill one, and everyone is happy.
Rusty, If you agree with this, I think it needs to be added to the core
protocol.
[btw, virtbus could be implemented atop virtqueue as well]
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2007-07-09 12:09 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 [this message]
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
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=4692257F.4070909@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).