Re: [Qemu-devel] [PATCH 14/14] block: use proper qerrors in qmp_block_resize

2012-01-24 Thread Markus Armbruster
A bit late, but here goes anyway: Luiz Capitulino writes: > From: Stefan Hajnoczi > > Let's report specific errors so that management tools and users can > identify the problem. > > Two new qerrors are needed: > * QERR_DEVICE_HAS_NO_MEDIUM for ENOMEDIUM > * QERR_DEVICE_IS_READ_ONLY for EACCES

[Qemu-devel] [PATCH 14/14] block: use proper qerrors in qmp_block_resize

2012-01-18 Thread Luiz Capitulino
From: Stefan Hajnoczi Let's report specific errors so that management tools and users can identify the problem. Two new qerrors are needed: * QERR_DEVICE_HAS_NO_MEDIUM for ENOMEDIUM * QERR_DEVICE_IS_READ_ONLY for EACCES Signed-off-by: Stefan Hajnoczi Signed-off-by: Luiz Capitulino --- bloc