mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-28 18:02:07 +00:00
clone: be explicit about source format when cloning EFI disk
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
9f887d3738
commit
c9398d15ff
@ -8486,7 +8486,7 @@ sub clone_disk {
|
||||
# better for Ceph if block size is not too small, see bug #3324
|
||||
my $bs = 1024*1024;
|
||||
|
||||
my $cmd = ['qemu-img', 'dd', '-n', '-O', $dst_format];
|
||||
my $cmd = ['qemu-img', 'dd', '-n', '-f', $src_format, '-O', $dst_format];
|
||||
|
||||
if ($src_format eq 'qcow2' && $snapname) {
|
||||
die "cannot clone qcow2 EFI disk snapshot - requires QEMU >= 6.2\n"
|
||||
|
Loading…
Reference in New Issue
Block a user