mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 03:31:02 +00:00
rename foreach_writable_storage to foreach_storage_used_by_vm
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
2eeb0c9321
commit
65a5ce88e6
@ -125,7 +125,7 @@ sub __snapshot_save_vmstate {
|
||||
|
||||
if (!$target) {
|
||||
my ($shared, $local);
|
||||
PVE::QemuServer::foreach_writable_storage($conf, sub {
|
||||
PVE::QemuServer::foreach_storage_used_by_vm($conf, sub {
|
||||
my ($sid) = @_;
|
||||
my $scfg = PVE::Storage::storage_config($storecfg, $sid);
|
||||
my $dst = $scfg->{shared} ? \$shared : \$local;
|
||||
|
@ -5819,7 +5819,7 @@ sub restore_tar_archive {
|
||||
warn $@ if $@;
|
||||
};
|
||||
|
||||
sub foreach_writable_storage {
|
||||
sub foreach_storage_used_by_vm {
|
||||
my ($conf, $func) = @_;
|
||||
|
||||
my $sidhash = {};
|
||||
|
Loading…
Reference in New Issue
Block a user