[pve-devel] pve-storage : path : add checkaccess param

Dietmar Maurer dietmar at proxmox.com
Wed Sep 25 07:04:53 CEST 2013


We already have:

	my ($vtype, $name, $vmid, $basename, $basevmid, $isBase) =
	    $plugin->parse_volname($volname);

So we just need to make that method accessible from outside:

my ($vtype, $name, $ownervm) = PVE::Storage::parse_volname($cfg, $volid)

Do you think that would work?

> RPCEnvironnement:check_volume_access only need $path for real file.





More information about the pve-devel mailing list