]> git.proxmox.com Git - qemu-server.git/commit
clone disk: assert that drive name is the same for drive-mirror on single VM
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 17 Mar 2022 11:30:59 +0000 (12:30 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 1 Apr 2022 08:24:59 +0000 (10:24 +0200)
commit5f9575929a2419f7dc2dc629b33d4527896e313d
tree43944ec2f90b045c22aa3e7bee9862d2743ec59e
parentf9be9137fc87bd69e7f703a6c39d3475486db324
clone disk: assert that drive name is the same for drive-mirror on single VM

because when the VM ID of target and source are the same,
qemu_drive_mirror_monitor() switches the QEMU device node over to the
new backing image. The planned import-from functionality makes it
possible to run into this, although for an a bit unusual use case.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm