Thibaut Collet 25a2a920dd vhost: set the correct queue index in case of migration with multiqueue
When a live migration is started the log address to mark dirty pages is provided
to the vhost backend through the vhost_dev_set_log function.
This function is called for each queue pairs but the queue index is wrongly set:
always set to the first queue pair. Then vhost backend lost descriptor addresses
of the queue pairs greater than 1 and behaviour of the vhost backend is
unpredictable.

The queue index is computed by taking account of the vq_index (to retrieve the
queue pair index) and calling the vhost_get_vq_index method of the backend.

Signed-off-by: Thibaut Collet <thibaut.collet@6wind.com>
Cc: qemu-stable@nongnu.org
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-10-22 14:34:50 +03:00
2015-07-08 13:11:01 +02:00
2015-10-01 17:24:02 -07:00
2015-09-11 10:45:43 +03:00
2015-10-22 14:34:48 +03:00
2015-10-15 08:14:13 +02:00
2015-09-11 10:21:38 +03:00
2015-10-08 19:46:47 +03:00
2015-09-11 10:45:43 +03:00
2015-10-22 14:34:48 +03:00
2015-10-16 11:06:19 +01:00
…
2014-06-16 13:24:35 +02:00
…
…
…
…
2015-10-22 14:34:48 +03:00
…
2015-07-27 22:44:47 +03:00
2015-04-30 16:05:48 +03:00
2015-10-21 09:24:44 +03:00
…
2015-09-04 13:26:26 +02:00
2015-09-07 18:14:03 +02:00
2015-09-07 18:14:03 +02:00
2015-09-01 13:16:26 -05:00
…
2015-05-11 08:59:07 -04:00
2015-09-29 11:33:02 +05:30
…
2015-10-22 14:34:49 +03:00
2015-08-19 16:29:53 +01:00
2015-08-11 23:15:55 +01:00

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

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
708 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%