]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: migration: Simplify handling of 'diskAlias' when adding NBD exports
authorPeter Krempa <pkrempa@redhat.com>
Fri, 6 Dec 2019 15:54:33 +0000 (16:54 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Dec 2019 06:11:24 +0000 (07:11 +0100)
commit83137f5d3710ffe5a36ba9218ddc382d6675dc32
tree7b9e9418b85ffb27e70d0041ca693bd0d93fb80f
parentd179acf4ad5001b8b02d79167e4e65a35c612c15
qemu: migration: Simplify handling of 'diskAlias' when adding NBD exports

Declare the variable inside the loop with automatic clearing.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_migration.c