[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/10]: QError v4
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH 00/10]: QError v4 |
Date: |
Mon, 23 Nov 2009 11:34:13 -0200 |
On Mon, 23 Nov 2009 07:11:53 -0600
Anthony Liguori <address@hidden> wrote:
> Luiz Capitulino wrote:
> > On Sun, 22 Nov 2009 10:08:16 -0600
> > Anthony Liguori <address@hidden> wrote:
> >
> >
> >> I'm certainly willing to consider alternative ways to do qmp_error() but
> >> taking a free form string is not an option in my mind. It goes against
> >> the fundamentals of what we're trying to build with QMP.
> >>
> >
> > Agreed.
> >
> >
> >> So if you're opposed to structured error data, just having
> >> qmp_error(error_code) is a reasonable alternative. I don't think it's
> >> the right thing to do, but I think it's still within the spirit of the
> >> goals of QMP.
> >>
> >
> > You mean, we would have calls like:
> >
> > qemu_error_new(error_code, 'device '%s' not found', name);
> >
>
> Except drop the 'device %s not found' bit.
We would need a table to have the strings for the user protocol
then. Not having the table is a key point in Markus's argument,
I guess.
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, (continued)
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/19
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Anthony Liguori, 2009/11/20
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/20
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Anthony Liguori, 2009/11/20
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/21
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Anthony Liguori, 2009/11/22
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Anthony Liguori, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4,
Luiz Capitulino <=
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Alexander Graf, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/24
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Alexander Graf, 2009/11/24
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Luiz Capitulino, 2009/11/23
- Re: [Qemu-devel] [PATCH 00/10]: QError v4, Markus Armbruster, 2009/11/23
[Qemu-devel] Re: [PATCH 00/10]: QError v4, Paolo Bonzini, 2009/11/18