]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainPrepareHostdev: base hostdev secret object names on backend alias
authorPeter Krempa <pkrempa@redhat.com>
Thu, 10 Sep 2020 13:39:49 +0000 (15:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Sep 2020 13:20:23 +0000 (15:20 +0200)
commita669d68336310ba629962ed1fe342bf583acff5b
tree7e05c9a86141864238ceb247e24736f55e71acee
parentca495825a34d8cad12972805d1c15092aefb444b
qemuDomainPrepareHostdev: base hostdev secret object names on backend alias

The secret object is used to pass data to the backend so it's better
fitting to base the secret object name on the SCSI host device backend
name.

Since we store the object alias in the status XML this modification is
safe in regards to existing guests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-latest.args
tests/qemuxml2argvdata/hostdev-scsi-virtio-scsi.x86_64-latest.args