aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-balloon.c
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@baidu.com>2019-06-26 10:31:28 +0800
committerMichael S. Tsirkin <mst@redhat.com>2019-07-04 17:00:32 -0400
commit868a8f44f57f15670b30631a95e3e31e5cf268d0 (patch)
tree4a5c6c7aad32564c8abb11ba7e20e8d0e9519895 /hw/virtio/virtio-balloon.c
parent7abccd088c9ef4c66dc891ff634a1f381ed4b2a8 (diff)
downloadqemu-868a8f44f57f15670b30631a95e3e31e5cf268d0.zip
qemu-868a8f44f57f15670b30631a95e3e31e5cf268d0.tar.gz
qemu-868a8f44f57f15670b30631a95e3e31e5cf268d0.tar.bz2
virtio: Set "start_on_kick" on virtio_set_features()
The guest feature is not set correctly on virtio_reset() and virtio_init(). So we should not use it to set "start_on_kick" at that point. This patch set "start_on_kick" on virtio_set_features() instead. Fixes: badaf79cfdbd3 ("virtio: Introduce started flag to VirtioDevice") Signed-off-by: Xie Yongji <xieyongji@baidu.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <20190626023130.31315-4-xieyongji@baidu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-balloon.c')
0 files changed, 0 insertions, 0 deletions