mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 18:59:41 +00:00
cleanup: improve locallity of variable declaration/use
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
bf116bdfea
commit
6c9f59c122
@ -61,8 +61,6 @@ my $OVMF = {
|
||||
],
|
||||
};
|
||||
|
||||
my $qemu_snap_storage = { rbd => 1 };
|
||||
|
||||
my $cpuinfo = PVE::ProcFSTools::read_cpuinfo();
|
||||
|
||||
my $QEMU_FORMAT_RE = qr/raw|cow|qcow|qcow2|qed|vmdk|cloop/;
|
||||
@ -6610,6 +6608,9 @@ sub foreach_storage_used_by_vm {
|
||||
}
|
||||
}
|
||||
|
||||
my $qemu_snap_storage = {
|
||||
rbd => 1,
|
||||
};
|
||||
sub do_snapshots_with_qemu {
|
||||
my ($storecfg, $volid) = @_;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user