linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tools/virtio: virtio_ring testing tool
@ 2010-11-29 17:04 Michael S. Tsirkin
  2010-11-29 17:09 ` [PATCH 1/2] vhost test module Michael S. Tsirkin
  2010-11-29 17:16 ` [PATCH 2/2] tools/virtio: virtio_test tool Michael S. Tsirkin
  0 siblings, 2 replies; 16+ messages in thread
From: Michael S. Tsirkin @ 2010-11-29 17:04 UTC (permalink / raw)
  To: virtualization, kvm, rusty; +Cc: linux-kernel

This implements a virtio simulator:
 - adds stubs for enough support functions to compile
   virtio ring in userspace.
 - Adds a stub vhost based module this can talk to.
 
This should help us decide things like which ring layout
works best.
 
Communication is currently done using an eventfd descriptor.
This means there's a shared spinlock there: what I would like to do
in the future, is run this under kvm and use interrupt injection and
io for communication, to make it more real-life and avoid lock
contention.

This patchset applies on top of vhost-net-next branch in my tree.
In particular you must have commits:
commit 64e1c80748afca3b4818ebb232a9668bf529886d
    vhost-net: batch use/unuse mm
commit 533a19b4b88fcf81da3106b94f0ac4ac8b33a248
    vhost: put mm after thread stop
 
I think it's probably best to keep this part of kernel tree,
to avoid version skew and so we don't need to commit to
any kind of API.

Since there's a dependency on vhost here it's easiest
to merge this through my vhost tree, so that's what
I intend to do unless someone complains, soon.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-09-07  3:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29 17:04 [PATCH 0/2] tools/virtio: virtio_ring testing tool Michael S. Tsirkin
2010-11-29 17:09 ` [PATCH 1/2] vhost test module Michael S. Tsirkin
2010-12-02 19:00   ` Paul E. McKenney
2010-12-02 19:11     ` Michael S. Tsirkin
2010-12-02 19:26       ` Paul E. McKenney
2010-12-02 19:47         ` Michael S. Tsirkin
2010-12-02 23:13           ` Paul E. McKenney
2010-12-02 23:18             ` Michael S. Tsirkin
2010-12-02 23:56               ` Paul E. McKenney
2010-12-04 18:03                 ` Paul E. McKenney
2010-11-29 17:16 ` [PATCH 2/2] tools/virtio: virtio_test tool Michael S. Tsirkin
2010-12-06  4:53   ` Rusty Russell
2010-12-13 17:14     ` Michael S. Tsirkin
2010-12-06 16:37   ` Thiago Farina
2010-12-13 16:58     ` Michael S. Tsirkin
2011-09-07  3:34   ` Zhi Yong Wu

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).