summary refs log tree commit diff stats
path: root/hw/display/qxl-render.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-09-04 11:39:17 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-04 17:19:09 +0100
commit086abc1ccd0fa5103345adda819e6c6436949579 (patch)
tree3c64bcbc490597390f0b9213c564f24ed7ecf09d /hw/display/qxl-render.c
parentca77d85e1dbf929ae677a0bac96e9b3edd1704da (diff)
downloadfocaccia-qemu-086abc1ccd0fa5103345adda819e6c6436949579.tar.gz
focaccia-qemu-086abc1ccd0fa5103345adda819e6c6436949579.zip
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 'hw/display/qxl-render.c')
0 files changed, 0 insertions, 0 deletions