diff options
| author | Jonah Palmer | 2022-04-01 15:23:19 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-05-16 10:38:40 +0200 |
| commit | c255488d67dc0d52052a12e0242bf00dcbe5223f (patch) | |
| tree | 112aff6a9f3ed155a0e4dbda2ce2eff91a915bc4 /docs/interop | |
| parent | virtio: drop name parameter for virtio_init() (diff) | |
| download | qemu-c255488d67dc0d52052a12e0242bf00dcbe5223f.tar.gz qemu-c255488d67dc0d52052a12e0242bf00dcbe5223f.tar.xz qemu-c255488d67dc0d52052a12e0242bf00dcbe5223f.zip | |
virtio: add vhost support for virtio devices
This patch adds a get_vhost() callback function for VirtIODevices that
returns the device's corresponding vhost_dev structure, if the vhost
device is running. This patch also adds a vhost_started flag for
VirtIODevices.
Previously, a VirtIODevice wouldn't be able to tell if its corresponding
vhost device was active or not.
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1648819405-25696-3-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'docs/interop')
0 files changed, 0 insertions, 0 deletions
