]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: Introduce started flag to VirtioDevice
authorXie Yongji <xieyongji@baidu.com>
Wed, 20 Mar 2019 11:26:40 +0000 (19:26 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commitbadaf79cfdbd32b22df00bca1a1797036063dc48
treea595b075a699350a8ccce000e20fb144e9f8ac82
parented1be66bfc468236fb0c4328c89a873405c13926
virtio: Introduce started flag to VirtioDevice

The virtio 1.0 transitional devices support driver uses the device
before setting the DRIVER_OK status bit. So we introduce a started
flag to indicate whether driver has started the device or not.

Signed-off-by: Xie Yongji <xieyongji@baidu.com>
Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
Message-Id: <20190320112646.3712-2-xieyongji@baidu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c
include/hw/virtio/virtio.h