[libvirt] Correct a check for capacity arg of storageVolumeResize()

2012-03-02 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org Lets say I got a volume with '1G' allocation and '10G' capacity. The available space in the parent pool is '5G'. With the current check for overcapacity, I can only try to resize to = '6G'. You see the problem? --- src/storage/storage_driver.c |

Re: [libvirt] Correct a check for capacity arg of storageVolumeResize()

2012-03-02 Thread Eric Blake
On 03/02/2012 08:18 PM, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org Lets say I got a volume with '1G' allocation and '10G' capacity. The available space in the parent pool is '5G'. With the current check for overcapacity, I can only try to resize to = '6G'.

Re: [libvirt] Correct a check for capacity arg of storageVolumeResize()

2012-02-24 Thread Eric Blake
On 02/23/2012 08:00 PM, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- src/storage/storage_driver.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c index

Re: [libvirt] Correct a check for capacity arg of storageVolumeResize()

2012-02-24 Thread Zeeshan Ali (Khattak)
On Fri, Feb 24, 2012 at 8:58 PM, Eric Blake ebl...@redhat.com wrote: On 02/23/2012 08:00 PM, Zeeshan Ali (Khattak) wrote: From: Zeeshan Ali (Khattak) zeesha...@gnome.org ---  src/storage/storage_driver.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[libvirt] Correct a check for capacity arg of storageVolumeResize()

2012-02-23 Thread Zeeshan Ali (Khattak)
From: Zeeshan Ali (Khattak) zeesha...@gnome.org --- src/storage/storage_driver.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c index df0e291..641944d 100644 --- a/src/storage/storage_driver.c +++