diff options
author | Stefan Hajnoczi | 2016-12-01 20:26:48 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2017-01-03 17:38:49 +0100 |
commit | aff8fd18f1786fc5af259a9bc0077727222f51ca (patch) | |
tree | d2daf966c6c7b9ecd14c559ecc7410b7d27df0ee /aio-posix.c | |
parent | virtio-scsi: suppress virtqueue kick during processing (diff) | |
download | qemu-aff8fd18f1786fc5af259a9bc0077727222f51ca.tar.gz qemu-aff8fd18f1786fc5af259a9bc0077727222f51ca.tar.xz qemu-aff8fd18f1786fc5af259a9bc0077727222f51ca.zip |
virtio: turn vq->notification into a nested counter
Polling should disable virtqueue notifications but that requires nested
virtio_queue_set_notification() calls. Turn vq->notification into a
counter so it is possible to do nesting.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20161201192652.9509-10-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'aio-posix.c')
0 files changed, 0 insertions, 0 deletions