Re: [pve-devel] Speed up PVE Backup

2016-03-04 Thread Timo Grodzinski
> We use the qemu backup blockjob, just slightly modified... >>> ___ >>> pve-devel mailing list >>> pve-devel@pve.proxmox.com >>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel >>> >>

Re: [pve-devel] Disk Image Upload

2016-02-22 Thread Timo Grodzinski
th same size as > a existing one > > - automatically replace the VM disk when upload completes > > If the user has Datastore.AllocateSpace, we can use the > unusedX volume mechanism (no need to auto-replace an existing disk) > -- Mit freundlichen Grüßen Timo Grodzi

Re: [pve-devel] Disk Image Upload

2016-02-20 Thread Timo Grodzinski
Hi Wolfgang! Am 18.02.2016 um 13:35 schrieb Wolfgang Bumiller: Hi, On Mon, Feb 15, 2016 at 02:25:04PM +0100, Timo Grodzinski wrote: Hi list, here is the patch for uploading and importing disk images to vms. - I have added an an 'Upload disk' button in the vm's hardware t

Re: [pve-devel] [PATCH qemu-server 2/4] add function returning virtual size of disk image

2016-02-17 Thread Timo Grodzinski
) > > On Mon, Feb 15, 2016 at 02:33:47PM +0100, Timo Grodzinski wrote: >> Signed-off-by: Timo Grodzinski >> --- >> PVE/QemuServer.pm | 20 >> 1 file changed, 20 insertions(+) >> >> diff --git a/PVE/QemuServer.pm b/PVE/QemuServ

[pve-devel] [PATCH qemu-server 3/4] add function importing disk image to existing vm

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/QemuServer.pm | 61 ++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 6fafa59..6c777d5 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm

[pve-devel] [PATCH qemu-server 4/4] add API2 handler for uploading disk images

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/API2/Qemu.pm | 123 +++ 1 file changed, 123 insertions(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 226e597..47a0a56 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -3,6 +3,7

[pve-devel] [PATCH qemu-server 2/4] add function returning virtual size of disk image

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/QemuServer.pm | 20 1 file changed, 20 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index a130596..6fafa59 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6547,6 +6547,26 @@ sub clone_disk { return

[pve-devel] [PATCH qemu-server 1/4] add switch to skip creation of target image for qemu-img

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/QemuServer.pm | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index bfce953..a130596 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6368,7 +6368,7 @@ sub is_template

[pve-devel] [PATCH storage] add new content type 'temp' to posix compat storages

2016-02-15 Thread Timo Grodzinski
Temp folder can be used for temporary storage of big file uploads. Ensures that folder 'temp' is writable by www-data. Signed-off-by: Timo Grodzinski --- PVE/API2/Storage/Config.pm | 2 +- PVE/Storage.pm | 17 +++-- PVE/Storage/DirPlugin.pm | 2 +- P

[pve-devel] [PATCH manager 1/3] use special tmp upload dir for disk images

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/HTTPServer.pm | 24 +--- www/manager/Utils.js| 3 +++ www/manager/form/ContentTypeSelector.js | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/PVE/HTTPServer.pm b/PVE

[pve-devel] [PATCH manager 2/3] check auth for disk image upload url

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/REST.pm | 4 1 file changed, 4 insertions(+) diff --git a/PVE/REST.pm b/PVE/REST.pm index bf7ce15..b3d546a 100644 --- a/PVE/REST.pm +++ b/PVE/REST.pm @@ -107,6 +107,10 @@ sub auth_handler { $isUpload = 1; } + if ($method eq

[pve-devel] [PATCH manager 3/3] add button for uploading disk images

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- www/manager/Makefile | 1 + www/manager/Utils.js | 1 + www/manager/qemu/HardwareView.js | 27 +++ www/manager/qemu/UploadImage.js | 168 +++ 4 files changed, 197 insertions(+) create mode

[pve-devel] [PATCH cluster] add tmp storage for uploaded images to datacenter cfg

2016-02-15 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- data/PVE/Cluster.pm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index 5a93f79..26c58d7 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -1333,6 +1333,12 @@ my $datacenter_schema

[pve-devel] Disk Image Upload

2016-02-15 Thread Timo Grodzinski
storage plugins to store temporary disk image uploads. The temp upload storage can be configured in the datastore.cfg file. Any further recommendations? Timo Grodzinski ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi

Re: [pve-devel] [PATCH storage] WIP: upload disk image

2016-02-01 Thread Timo Grodzinski
; $path, ... } ); } __PACKAGE__->register_upload_method( 'upload_image,'{storage}/upload_image', ... ); when the code will be more final. > > > On Fri, Jan 29, 2016 at 06:42:18PM +0100, Timo Grodzinski wrote: >> Signed-off-by: Timo Grodzinski >> --

[pve-devel] [PATCH qemu-server] WIP: upload disk image

2016-01-29 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/QemuServer.pm | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 14a18f0..a0adca5 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6333,12

[pve-devel] Disk Image Upload

2016-01-29 Thread Timo Grodzinski
Hi! Here is an early prototype for uploading and importing disk images. There is a new 'Upload disk' button in the 'Hardware' tab for each vm. An uploaded image disk will first be stored in /var/tmp/. It will then be copied to the template location of the 'local' storage. Then qemu-img converts

[pve-devel] [PATCH manager] WIP: upload disk image

2016-01-29 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/REST.pm | 2 +- www/manager/qemu/HardwareView.js | 189 +++ 2 files changed, 190 insertions(+), 1 deletion(-) diff --git a/PVE/REST.pm b/PVE/REST.pm index bf7ce15..f66d28e 100644 --- a/PVE/REST.pm

[pve-devel] [PATCH storage] WIP: upload disk image

2016-01-29 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/API2/Storage/Status.pm | 211 + PVE/Storage.pm | 2 +- PVE/Storage/DirPlugin.pm | 2 +- PVE/Storage/Plugin.pm | 2 +- 4 files changed, 214 insertions(+), 3 deletions(-) diff --git a/PVE

[pve-devel] [PATCH manager] WIP: upload disk image

2016-01-29 Thread Timo Grodzinski
Signed-off-by: Timo Grodzinski --- PVE/REST.pm | 2 +- www/manager/qemu/HardwareView.js | 189 +++ 2 files changed, 190 insertions(+), 1 deletion(-) diff --git a/PVE/REST.pm b/PVE/REST.pm index bf7ce15..f66d28e 100644 --- a/PVE/REST.pm

[pve-devel] Upload and import disk images

2016-01-13 Thread Timo Grodzinski
Hi, we plan to enable the user to upload and import disk images (qcow2, vmdk, raw, ... ). Is anyone interested in this feature to go upstream in the public pve repos? Any suggestions, hints or feature requests? Best regards, Timo Grodzinski ___ pve

Re: [pve-devel] [PATCH] first bridge device is selected by default

2012-09-24 Thread Timo Grodzinski
Am 24.09.2012 12:15, schrieb Dietmar Maurer: Subject: Re: [pve-devel] [PATCH] first bridge device is selected by default Subject: Re: [pve-devel] [PATCH] first bridge device is selected by default Am 14.09.2012 13:58, schrieb tgrodzinski: This patch selects the first bridge device by default.

Re: [pve-devel] [PATCH] first bridge device is selected by default

2012-09-18 Thread Timo Grodzinski
Am 14.09.2012 13:58, schrieb tgrodzinski: This patch selects the first bridge device by default. Any thoughts / comments / suggestions ? Greetings, Timo ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/list

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Timo Grodzinski
Am 30.08.2012 11:11, schrieb Dietmar Maurer: Oh sorry. I'm travelling right now and Timo told me it looks like: 1024.000 Maybe the automatic update from bps to mbps can cause such numbers. for 1024MB/s. But normally, you simply get what you type on the GUI. Sorry - I didnt saw that you al

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Timo Grodzinski
Am 29.08.2012 14:19, schrieb Timo Grodzinski: Am 29.08.2012 14:01, schrieb Dietmar Maurer: @timo: I guess this is close to your initial proposal? Or do you want limit_rd/linit_wr? The identifiers are not so important to us, it's more important that the values are easy readable. So I

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-29 Thread Timo Grodzinski
lowing seems to work: The new parser automatically converts old bps to mbps. -- Mit freundlichen Grüßen Timo Grodzinski Ihr Profihost Team --- Profihost AG Am Mittelfelde 29 30519 Hannover Deutschland Tel.: +49 (511) 5151 8181 | Fax.: +49 (511) 5151 8282 URL: htt