diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-09-04 11:39:17 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-04 17:19:09 +0100 |
commit | 086abc1ccd0fa5103345adda819e6c6436949579 (patch) | |
tree | 3c64bcbc490597390f0b9213c564f24ed7ecf09d /block | |
parent | ca77d85e1dbf929ae677a0bac96e9b3edd1704da (diff) |
virtio-net: purge outstanding packets when starting vhost
whenever we start vhost, virtio could have outstanding packets
queued, when they complete later we'll modify the ring
while vhost is processing it.
To prevent this, purge outstanding packets on vhost start.
Cc: qemu-stable@nongnu.org
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions