Re: [Qemu-devel] [PATCH] qemu-img: mandate argument to 'qemu-img check --repair'

2014-03-25 Thread Stefan Hajnoczi
On Tue, Mar 25, 2014 at 12:08:54AM +0530, Prasad Joshi wrote: > qemu-img check --repair option accepts an argument. The argument to > --repair switch can either be 'all' or 'leak'. Fix the long option to > mandate argument with --repair switch. > > The patch fixes following segmentation fault > >

Re: [Qemu-devel] [PATCH] qemu-img: mandate argument to 'qemu-img check --repair'

2014-03-24 Thread Leandro Dorileo
On Tue, Mar 25, 2014 at 12:08:54AM +0530, Prasad Joshi wrote: > qemu-img check --repair option accepts an argument. The argument to > --repair switch can either be 'all' or 'leak'. Fix the long option to > mandate argument with --repair switch. > > The patch fixes following segmentation fault > >

[Qemu-devel] [PATCH] qemu-img: mandate argument to 'qemu-img check --repair'

2014-03-24 Thread Prasad Joshi
qemu-img check --repair option accepts an argument. The argument to --repair switch can either be 'all' or 'leak'. Fix the long option to mandate argument with --repair switch. The patch fixes following segmentation fault Core was generated by `qemu-img check -f qcow2 --repair all t.qcow2'. Progr