[libvirt] [PATCH] virsh: Fix vol-name and vol-pool commands

2011-08-01 Thread Matthias Bolte
This commands don't have a --pool option, so don't tell vshCommandOptVolBy that there could be one. This made vshCommandOptString for pooloptname fail and an missing option error was reported. Make pooloptname optional for vshCommandOptVolBy. --- tools/virsh.c |6 +++--- 1 files changed, 3

Re: [libvirt] [PATCH] virsh: Fix vol-name and vol-pool commands

2011-08-01 Thread Daniel Veillard
On Mon, Aug 01, 2011 at 02:43:25PM +0200, Matthias Bolte wrote: This commands don't have a --pool option, so don't tell vshCommandOptVolBy that there could be one. This made vshCommandOptString for pooloptname fail and an missing option error was reported. Make pooloptname optional for

Re: [libvirt] [PATCH] virsh: Fix vol-name and vol-pool commands

2011-08-01 Thread Matthias Bolte
2011/8/1 Daniel Veillard veill...@redhat.com: On Mon, Aug 01, 2011 at 02:43:25PM +0200, Matthias Bolte wrote: This commands don't have a --pool option, so don't tell vshCommandOptVolBy that there could be one. This made vshCommandOptString for pooloptname fail and an missing option error was