diff options
author | Xie Yongji <xieyongji@baidu.com> | 2019-06-26 10:31:28 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-04 17:00:32 -0400 |
commit | 868a8f44f57f15670b30631a95e3e31e5cf268d0 (patch) | |
tree | 4a5c6c7aad32564c8abb11ba7e20e8d0e9519895 /hw/virtio/virtio-balloon.c | |
parent | 7abccd088c9ef4c66dc891ff634a1f381ed4b2a8 (diff) | |
download | qemu-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