]> git.proxmox.com Git - qemu-server.git/commit
migrate: don't accidentally take NBD code paths
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 30 Apr 2020 07:35:29 +0000 (09:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 4 May 2020 15:34:58 +0000 (17:34 +0200)
commit6f4b11e9dbaa2bdf205b3e60b96f2ab56c2e7826
tree48a0d6a57b6feaae72e515950c6db6507fa7c7e5
parenta4c7029dd812851a6009ff0012fca802b4d41bcc
migrate: don't accidentally take NBD code paths

by avoiding auto-vivification of $self->{online_local_volumes} via
iteration. most code paths don't care whether it's undef or a reference
to an empty list, but this caused the (already) fixed bug of calling
nbd_stop without having started an NBD server in the first place.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuMigrate.pm