]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: add "use-started" property
authorXie Yongji <xieyongji@baidu.com>
Wed, 26 Jun 2019 02:31:26 +0000 (10:31 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jul 2019 21:00:32 +0000 (17:00 -0400)
commite57f2c31b6529d990eeafacdb19b9eb1904c23c6
treed0e5c6c9e0fb4e079b4c38274201e56f46e19596
parent683c1d89efd1eeb111c129a9a91f629b94d90d45
virtio: add "use-started" property

In order to avoid migration issues, we introduce a "use-started"
property to the base virtio device to indicate whether use
"started" flag or not. This property will be true by default and
set to false when machine type <= 4.0.

Suggested-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Xie Yongji <xieyongji@baidu.com>
Message-Id: <20190626023130.31315-2-xieyongji@baidu.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/block/vhost-user-blk.c
hw/core/machine.c
hw/virtio/virtio.c
include/hw/virtio/virtio.h