* [pve-devel] [PATCH storage] plugin: import/export formats: fix regression to unbreak import/export of 'images' content
@ 2025-11-20 12:12 Fiona Ebner
2025-11-20 13:05 ` [pve-devel] applied: " Fabian Grünbichler
0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2025-11-20 12:12 UTC (permalink / raw)
To: pve-devel
In particular, this affects offline migration of guest volumes.
Reported in the community forum:
https://forum.proxmox.com/threads/176352/
Fixes: 0ba0739 ("plugin: allow volume import of iso, snippets, vztmpl and import")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
src/PVE/Storage/Plugin.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm
index 31a79e9..6f2e434 100644
--- a/src/PVE/Storage/Plugin.pm
+++ b/src/PVE/Storage/Plugin.pm
@@ -2164,7 +2164,7 @@ sub volume_export_formats {
return ();
}
return ('tar+size') if $format eq 'subvol';
- return ('raw+size') if $vtype =~ /^(iso|snippets|vztmpl|import)$/;
+ return ('raw+size') if $vtype =~ /^(images|iso|snippets|vztmpl|import)$/;
}
return ();
}
@@ -2277,7 +2277,7 @@ sub volume_import_formats {
return ();
}
return ('tar+size') if $format eq 'subvol';
- return ('raw+size') if $vtype =~ /^(iso|snippets|vztmpl|import)$/;
+ return ('raw+size') if $vtype =~ /^(images|iso|snippets|vztmpl|import)$/;
}
return ();
}
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-20 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-20 12:12 [pve-devel] [PATCH storage] plugin: import/export formats: fix regression to unbreak import/export of 'images' content Fiona Ebner
2025-11-20 13:05 ` [pve-devel] applied: " Fabian Grünbichler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox