mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
virtio: Set "start_on_kick" for legacy devices
Besides virtio 1.0 transitional devices, we should also set "start_on_kick" flag for legacy devices (virtio 0.9). Signed-off-by: Xie Yongji <xieyongji@baidu.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <20190626023130.31315-3-xieyongji@baidu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
e57f2c31b6
commit
7abccd088c
2 changed files with 3 additions and 5 deletions
|
@ -107,7 +107,7 @@ struct VirtIODevice
|
|||
bool broken; /* device in invalid state, needs reset */
|
||||
bool use_started;
|
||||
bool started;
|
||||
bool start_on_kick; /* virtio 1.0 transitional devices support that */
|
||||
bool start_on_kick; /* when virtio 1.0 feature has not been negotiated */
|
||||
VMChangeStateEntry *vmstate;
|
||||
char *bus_name;
|
||||
uint8_t device_endian;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue