]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: vol-upload disallow negative offset
authorShanzhi Yu <shyu@redhat.com>
Wed, 3 Dec 2014 07:53:38 +0000 (15:53 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 3 Dec 2014 13:43:59 +0000 (08:43 -0500)
commitcd53d947eff4aeebc8b534f874431f3fd2c0cf67
tree39e70e31bb6938b8c187654d9e7e2392dc44ab22
parent421406808abaf7eb66abd27d71c21ae5b783a380
virsh: vol-upload disallow negative offset

Commit 570d0f63 describes disabling negative offset usage for
vol-upload/download (e.g. cmdVolDownload and cmdVolUpload; however,
the change was only made to cmdVolDownload. There was no change to
cmdVolUpload.  This patch adds the same checks for vol-upload.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1087104
Signed-off-by: Shanzhi Yu <shyu@redhat.com>
tools/virsh-volume.c