Re: [Qemu-devel] Re: [PATCH] Wrong error message in block_passwd command

2010-03-05 Thread Luiz Capitulino
On Fri, 05 Mar 2010 17:47:49 +0100 Markus Armbruster wrote: > Shahar Havivi writes: > > > diff --git a/qerror.c b/qerror.c > > index 2f657f4..4e63a54 100644 > > --- a/qerror.c > > +++ b/qerror.c > > @@ -49,6 +49,10 @@ static const QErrorStringTable qerror_table[] = { > > .desc = "

Re: [Qemu-devel] Re: [PATCH] Wrong error message in block_passwd command

2010-03-05 Thread Markus Armbruster
Shahar Havivi writes: > diff --git a/qerror.c b/qerror.c > index 2f657f4..4e63a54 100644 > --- a/qerror.c > +++ b/qerror.c > @@ -49,6 +49,10 @@ static const QErrorStringTable qerror_table[] = { > .desc = "The %(device) is encrypted", > }, > { > +.error_fmt = QERR_D

[Qemu-devel] Re: [PATCH] Wrong error message in block_passwd command

2010-03-05 Thread Luiz Capitulino
On Fri, 5 Mar 2010 17:47:33 +0200 Shahar Havivi wrote: > On Fri, Mar 05, 2010 at 04:22:55PM +0100, Kevin Wolf wrote: > > Date: Fri, 05 Mar 2010 16:22:55 +0100 > > From: Kevin Wolf > > To: Shahar Havivi > > CC: qemu-devel@nongnu.org, Dor Laor , > > Luiz Capitulino > > Subject: Re: [PATCH] W

[Qemu-devel] Re: [PATCH] Wrong error message in block_passwd command

2010-03-05 Thread Shahar Havivi
On Fri, Mar 05, 2010 at 04:22:55PM +0100, Kevin Wolf wrote: > Date: Fri, 05 Mar 2010 16:22:55 +0100 > From: Kevin Wolf > To: Shahar Havivi > CC: qemu-devel@nongnu.org, Dor Laor , > Luiz Capitulino > Subject: Re: [PATCH] Wrong error message in block_passwd command > > Am 05.03.2010 16:12,

[Qemu-devel] Re: [PATCH] Wrong error message in block_passwd command

2010-03-05 Thread Kevin Wolf
Am 05.03.2010 16:12, schrieb Shahar Havivi: > Monitor command 'block_passwd' reports a wrong error message when > drive is not encrypted > > Signed-off-by: Shahar Havivi > --- > block.c |9 ++--- > monitor.c |7 ++- > qerror.c |4 > qerror.h |3 +++ > 4 files cha