qemu-server/PVE
Stefan Reiter 6f94e1625b live-restore: preload efidisk before starting VM
The efidisk never got restored correctly before, since we don't use the
generic print_drive_commandline_full for it, and as such it didn't get a
backing image attached. This not only causes the efidisk data to be lost
on restore, but also an error at the end, since we try to remove a
non-existing PBS blockdev.

Since it is attached differently to a regular drive, adding PBS backing
would be more difficult, but not to worry: an efidisk is small enough
that it doesn't hurt performance to just restore it via the regular
mechanism before starting the VM, and simply excluding it from the live
restore entirely.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-07-01 12:54:32 +02:00
..
API2 fix #2175: PVE/API2/Qemu: update_vm_api: check old drive for permissions too 2021-06-24 18:56:04 +02:00
CLI cli tools: correctly handle warnings task status 2021-06-23 12:26:49 +02:00
QemuServer drive: factor out read-only helper 2021-06-23 12:27:54 +02:00
VZDump vzdump: add master key support 2021-06-02 16:49:00 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm snapshot: set migration caps before savevm-start 2021-03-16 20:44:51 +01:00
QemuMigrate.pm allow migrating raw btrfs volumes 2021-06-23 12:26:40 +02:00
QemuServer.pm live-restore: preload efidisk before starting VM 2021-07-01 12:54:32 +02:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00