Re: [libvirt] [PATCH] virsh: Checking the volume capacity before uploading a new file.

2018-01-08 Thread Peter Krempa
On Mon, Jan 08, 2018 at 13:55:10 +0100, Peter Krempa wrote: > On Sun, Jan 07, 2018 at 21:31:24 -0200, Julio Faracco wrote: > > The current command 'vol-upload' is not checking if the volume accepts > > a file bigger than its capacity. It can cause an interrupt of the > > upload stream. This

Re: [libvirt] [PATCH] virsh: Checking the volume capacity before uploading a new file.

2018-01-08 Thread Peter Krempa
On Sun, Jan 07, 2018 at 21:31:24 -0200, Julio Faracco wrote: > The current command 'vol-upload' is not checking if the volume accepts > a file bigger than its capacity. It can cause an interrupt of the > upload stream. This commit adds a check that fails before starting to > send new file to

[libvirt] [PATCH] virsh: Checking the volume capacity before uploading a new file.

2018-01-07 Thread Julio Faracco
The current command 'vol-upload' is not checking if the volume accepts a file bigger than its capacity. It can cause an interrupt of the upload stream. This commit adds a check that fails before starting to send new file to volume if the file is bigger. Resolves: