]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use the 'device_id' property of SCSI disks to avoid regressing
authorPeter Krempa <pkrempa@redhat.com>
Mon, 28 Jan 2019 15:57:35 +0000 (16:57 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Feb 2019 09:11:12 +0000 (10:11 +0100)
commita1dce96236f6d35167924fa7e6a70f58f394b23c
tree5d2dd732b2ba7d3ebe6917b5659683e53e4bc56e
parent85a8e364f3abfd573eecce3dee528bfcdbd3b23a
qemu: Use the 'device_id' property of SCSI disks to avoid regressing

QEMU accidentally exposed the id of -drive (or same value as disk
serial, if provided) in one of the identifiers visible from the guest.

To avoid regression in case when -blockdev will be used we need to
always specify it ourselves.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args
tests/qemuxml2argvdata/disk-cache.x86_64-latest.args
tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args
tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args
tests/qemuxml2argvdata/disk-shared.x86_64-latest.args
tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args