diff options
author | Alex Bennée | 2022-08-02 11:49:58 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-10-07 15:41:51 +0200 |
commit | 9f6bcfd99f46377888059d8539befec9505f57fb (patch) | |
tree | 7ebee167ba59b63f6c9058217b0f86c1336cd547 /meson_options.txt | |
parent | hw/virtio: add some vhost-user trace events (diff) | |
download | qemu-9f6bcfd99f46377888059d8539befec9505f57fb.tar.gz qemu-9f6bcfd99f46377888059d8539befec9505f57fb.tar.xz qemu-9f6bcfd99f46377888059d8539befec9505f57fb.zip |
hw/virtio: move vm_running check to virtio_device_started
All the boilerplate virtio code does the same thing (or should at
least) of checking to see if the VM is running before attempting to
start VirtIO. Push the logic up to the common function to avoid
getting a copy and paste wrong.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220802095010.3330793-11-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions