]> git.proxmox.com Git - qemu-server.git/commit
fix #1338: migrate: stop nbd before resuming
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 Apr 2017 13:19:48 +0000 (15:19 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 21 Apr 2017 09:43:29 +0000 (11:43 +0200)
commit504105c638f2234c9d4a00109c9bb41e36c47ca3
treeddf94e364d71a06b95b14724048a3c53d79a6900
parentb37ecfe6ae7f7b557db7712ee6988cb0397306e9
fix #1338: migrate: stop nbd before resuming

since Qemu 2.9, block device write access is limited to one
writer unless shared_rw is set to true. there is an
exception for live-migrating local disks via NBD as long as
the VM is suspended.

stop the NBD server before resuming the VM accordingly to
unbreak local disk live-migration.

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