Eugenio Pérez d368c0b052 vhost: Do not depend on !NULL VirtQueueElement on vhost_svq_flush
Since QEMU will be able to inject new elements on CVQ to restore the
state, we need not to depend on a VirtQueueElement to know if a new
element has been used by the device or not. Instead of check that, check
if there are new elements only using used idx on vhost_svq_flush.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2022-09-02 10:22:39 +08:00
..
2022-06-28 11:06:44 +02:00
2022-08-25 21:59:04 +02:00
2022-08-25 21:59:04 +02:00
2022-08-25 21:59:04 +02:00
2022-06-30 04:49:40 +05:30
2022-09-01 13:53:20 -04:00
2022-04-26 12:25:14 +02:00
2022-07-22 19:01:44 +02:00
2022-06-11 11:44:50 +02:00
2022-06-30 09:21:13 +02:00
2022-06-08 19:38:47 +01:00
2022-07-06 10:22:38 -03:00