]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: Make sure we get correct state of device on handle_aio_output()
authorXie Yongji <xieyongji@baidu.com>
Wed, 26 Jun 2019 02:31:29 +0000 (10:31 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jul 2019 21:00:32 +0000 (17:00 -0400)
commit8b04e2c797b01a4baf379ec4f40b3f0e9cdf7a25
tree14a89e97c5b61af783cdf0a7e77b6ff7521481e1
parent868a8f44f57f15670b30631a95e3e31e5cf268d0
virtio: Make sure we get correct state of device on handle_aio_output()

We should set the flags: "start_on_kick" and "started" after we call
the kick functions (handle_aio_output() and handle_output()).

Signed-off-by: Xie Yongji <xieyongji@baidu.com>
Message-Id: <20190626023130.31315-5-xieyongji@baidu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c