summaryrefslogtreecommitdiffstats
path: root/hw/pci
diff options
context:
space:
mode:
authorChangpeng Liu2022-05-25 14:55:39 +0200
committerMichael S. Tsirkin2022-06-10 01:32:49 +0200
commitfb38d0c97dd665f7e0c1cb8176090500ce2275e1 (patch)
treea330ec8cbea0a4e65cb8e6ec567878cc170a87fd /hw/pci
parenttests/acpi: virt: update golden masters for VIOT (diff)
downloadqemu-fb38d0c97dd665f7e0c1cb8176090500ce2275e1.tar.gz
qemu-fb38d0c97dd665f7e0c1cb8176090500ce2275e1.tar.xz
qemu-fb38d0c97dd665f7e0c1cb8176090500ce2275e1.zip
hw/virtio/vhost-user: don't use uninitialized variable
Variable `vdev` in `struct vhost_dev` will not be ready until start the device, so let's not use it for the error output here. Fixes: 5653493 ("hw/virtio/vhost-user: don't suppress F_CONFIG when supported") Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Message-Id: <20220525125540.50979-1-changpeng.liu@intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Fixes: 5653493 ("hw/virtio/vhost-user: don't suppress F_CONFIG when supported") Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Fixes: 5653493 ("hw/virtio/vhost-user: don't suppress F_CONFIG when supported") Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Diffstat (limited to 'hw/pci')
0 files changed, 0 insertions, 0 deletions