Re: [Qemu-devel] [PATCH] blockdev: Replace "undefined error" in qmp_block_resize

2013-05-02 Thread Stefan Hajnoczi
On Thu, May 02, 2013 at 03:32:55PM +0200, Kevin Wolf wrote: > We have an errno value that can be displayed, so we should just do that. > An easy way to reproduce this case is to resize a raw image to a size > that is too large for the host file system. > > Signed-off-by: Kevin Wolf > --- > block

Re: [Qemu-devel] [PATCH] blockdev: Replace "undefined error" in qmp_block_resize

2013-05-02 Thread Eric Blake
On 05/02/2013 07:32 AM, Kevin Wolf wrote: > We have an errno value that can be displayed, so we should just do that. > An easy way to reproduce this case is to resize a raw image to a size > that is too large for the host file system. > > Signed-off-by: Kevin Wolf > --- > blockdev.c | 6 -- >

[Qemu-devel] [PATCH] blockdev: Replace "undefined error" in qmp_block_resize

2013-05-02 Thread Kevin Wolf
We have an errno value that can be displayed, so we should just do that. An easy way to reproduce this case is to resize a raw image to a size that is too large for the host file system. Signed-off-by: Kevin Wolf --- blockdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --