diff options
author | Changpeng Liu <changpeng.liu@intel.com> | 2022-05-25 20:55:39 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-06-09 19:32:49 -0400 |
commit | fb38d0c97dd665f7e0c1cb8176090500ce2275e1 (patch) | |
tree | a330ec8cbea0a4e65cb8e6ec567878cc170a87fd /hw/block | |
parent | 5060004c303ce564e6ddb87d8255b7741870f9d6 (diff) | |
download | qemu-fb38d0c97dd665f7e0c1cb8176090500ce2275e1.zip qemu-fb38d0c97dd665f7e0c1cb8176090500ce2275e1.tar.gz qemu-fb38d0c97dd665f7e0c1cb8176090500ce2275e1.tar.bz2 |
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/block')
0 files changed, 0 insertions, 0 deletions