Re: [pve-devel] [PATCH] add solaris ostype

2013-09-24 Thread Dietmar Maurer
applied - thanks! > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier > Sent: Dienstag, 24. September 2013 10:05 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] [PATCH] add solaris ostype > >

Re: [pve-devel] Qemu Update

2013-09-24 Thread Dietmar Maurer
> are there any planned qemu updates for pve? In the past I read that 1.6 was > planned. 1.6 was planned, but I am quite busy currently. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

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

2013-09-24 Thread Dietmar Maurer
> Yes, but check_volume_access return need $path in 2 places > > OpenVZ.pm > > $archive = $rpcenv->check_volume_access($authuser, $storage_cfg, $vmid, We simply add an extra call PVE::Storage::path() ? ___ pve-devel mailing list pve-devel@pve.proxmox.

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

2013-09-24 Thread Alexandre DERUMIER
>>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? Yes, but check_volume_access return need $path in 2 places OpenVZ.pm $archive = $rpcenv->check_volume_access($authuser,

[pve-devel] Qemu Update

2013-09-24 Thread Stefan Priebe - Profihost AG
Hi, are there any planned qemu updates for pve? In the past I read that 1.6 was planned. Greets, Stefan ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

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

2013-09-24 Thread Dietmar Maurer
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?

[pve-devel] pve-access-control : check_volume_access : pass checkaccess argument

2013-09-24 Thread Alexandre Derumier
description in patches for pve-storage ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] check_volume_access : pass checkaccess argument

2013-09-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/RPCEnvironment.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/RPCEnvironment.pm b/PVE/RPCEnvironment.pm index 765008e..62c1131 100644 --- a/PVE/RPCEnvironment.pm +++ b/PVE/RPCEnvironment.pm @@ -291,7 +291,7 @@ sub check_vol

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

2013-09-24 Thread Alexandre Derumier
RPCEnvironnement:check_volume_access only need $path for real file. Some plugin like nexenta && zfs are doing extra call to api, to find the $path value. (iscsi lun for example). This can give us big timeouts, as check_volume_access can be call for each volume in a loop when listing volumes. W

[pve-devel] [PATCH 1/2] storage : path : add checkaccess param

2013-09-24 Thread Alexandre Derumier
RPCEnvironnement:check_volume_access only need $path for real file. Some plugin like nexenta && zfs are doing extra call to api, to find the $path value. (iscsi lun for example). This can give us big timeouts, as check_volume_access can be call for each volume in a loop when listing volume. We

[pve-devel] [PATCH 2/2] nexenta: path : add checkaccess

2013-09-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Storage/NexentaPlugin.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm index 93cd0cf..5a11fae 100644 --- a/PVE/Storage/NexentaPlugin.pm +++ b/PVE/Storage/NexentaPlugin.

[pve-devel] pve-manager : add solaris ostype

2013-09-24 Thread Alexandre Derumier
see commit ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] add solaris ostype

2013-09-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager/Utils.js |3 ++- www/manager/qemu/OSTypeEdit.js |5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/www/manager/Utils.js b/www/manager/Utils.js index 8165e7a..d301395 100644 --- a/www/manager/Utils.js +++ b/w