[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Fixing the error failure
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [RFC] Fixing the error failure |
Date: |
Tue, 26 Jun 2012 10:01:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Anthony Liguori <address@hidden> writes:
> Um, why not just do:
>
> #define GENERIC_ERROR "{'class': 'GenericError', 'data': { 'domain': %s,
> 'msg': %s}"
>
> And then just use:
>
> error_set(errp, GENERIC_ERROR, SOME_DOMAIN, "This operation failed!");
Please explain the intended use of domain, and why it is necessary,
i.e. why class alone won't do.
[...]
- Re: [Qemu-devel] Adding errno to QMP errors, (continued)
- Re: [Qemu-devel] Adding errno to QMP errors, Luiz Capitulino, 2012/06/19
- [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Anthony Liguori, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Anthony Liguori, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/20
- Re: [Qemu-devel] [RFC] Fixing the error failure,
Markus Armbruster <=
- Re: [Qemu-devel] [RFC] Fixing the error failure, Daniel P. Berrange, 2012/06/21
- Re: [Qemu-devel] [RFC] Fixing the error failure, Luiz Capitulino, 2012/06/25
- Re: [Qemu-devel] [RFC] Fixing the error failure, Markus Armbruster, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Daniel P. Berrange, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Markus Armbruster, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Anthony Liguori, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Markus Armbruster, 2012/06/28