]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Check duplicate WWNs also for hotplugged disks
authorPeter Krempa <pkrempa@redhat.com>
Wed, 8 Jul 2015 14:10:05 +0000 (16:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Jul 2015 07:13:22 +0000 (09:13 +0200)
commit780fe4e4baf7e2f10f65ba1a34f9274fc547cad2
tree500a6cd3ea0f9897ca1e3157f76b77f75efddc53
parentdd519a294b22646b8dab26627707a525556df4d4
qemu: Check duplicate WWNs also for hotplugged disks

In commit 714b38cb232bcbbd7487af4c058fa6d0999b3326 I tried to avoid
having two disks with the same WWN in a VM. I forgot to check the
hotplug paths though which make it possible bypass that check. Reinforce
the fix by checking the wwn when attaching the disk.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1208009
src/conf/domain_conf.c