fix offline migration bug

Alway pass volname and storeid to plugin->path()
This commit is contained in:
Dietmar Maurer
2012-07-16 06:45:13 +02:00
parent d70e7f6c0d
commit 6bf5629866
4 changed files with 15 additions and 7 deletions

View File

@ -384,7 +384,7 @@ sub get_subdir {
}
sub path {
my ($class, $scfg, $volname) = @_;
my ($class, $scfg, $volname, $storeid) = @_;
my ($vtype, $name, $vmid) = $class->parse_volname($volname);