Jason Wang a9f98bb5eb vhost: multiqueue support
This patch lets vhost support multiqueue. The idea is simple, just launching
multiple threads of vhost and let each of vhost thread processing a subset of
the virtqueues of the device. After this change each emulated device can have
multiple vhost threads as its backend.

To do this, a virtqueue index were introduced to record to first virtqueue that
will be handled by this vhost_net device. Based on this and nvqs, vhost could
calculate its relative index to setup vhost_net device.

Since we may have many vhost/net devices for a virtio-net device. The setting of
guest notifiers were moved out of the starting/stopping of a specific vhost
thread. The vhost_net_{start|stop}() were renamed to
vhost_net_{start|stop}_one(), and a new vhost_net_{start|stop}() were introduced
to configure the guest notifiers and start/stop all vhost/vhost_net devices.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-01 11:03:02 -06:00
2013-01-10 15:11:53 -06:00
2013-01-26 13:15:35 +00:00
2013-01-25 10:49:46 -02:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2012-12-19 08:29:06 +01:00
2013-01-18 19:06:57 +01:00
2013-02-01 11:03:02 -06:00
2013-01-21 09:17:16 +01:00
2012-10-24 10:26:22 +02:00
2013-01-21 09:17:16 +01:00
2013-01-30 16:03:57 +00:00
2012-11-01 13:10:06 +01:00
2012-12-20 23:08:47 +01:00
2013-01-25 11:46:50 -02:00
2011-12-09 11:25:22 +00:00
2013-01-30 10:42:29 +01:00
2013-01-26 13:15:35 +00:00
2012-12-20 23:09:25 +01:00
2013-01-17 10:24:52 -02:00
2013-02-01 11:03:02 -06:00
2011-12-11 17:50:43 -06:00
2013-02-01 11:02:55 -06:00
2012-12-03 14:08:40 -06:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%