]> git.proxmox.com Git - qemu-server.git/commitdiff
live-restore: add another comment for efidisk special case just to be sure
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jul 2021 10:57:11 +0000 (12:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jul 2021 10:57:11 +0000 (12:57 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm

index ce5a1b1555e468312b6c28fc675b94a4b00a07d1..9ef0ab6bbe56c1e11a55a684b146f8bb7a37dfb8 100644 (file)
@@ -6449,7 +6449,7 @@ sub restore_proxmox_backup_archive {
        my $conf = PVE::QemuConfig->load_config($vmid);
        die "cannot do live-restore for template\n" if PVE::QemuConfig->is_template($conf);
 
-       delete $devinfo->{'drive-efidisk0'};
+       delete $devinfo->{'drive-efidisk0'}; # this special drive is already restored before start
        pbs_live_restore($vmid, $conf, $storecfg, $devinfo, $repo, $keyfile, $pbs_backup_name);
 
        PVE::QemuConfig->remove_lock($vmid, "create");