[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Adding errno to QMP errors
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] Adding errno to QMP errors |
Date: |
Tue, 19 Jun 2012 09:39:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Am 18.06.2012 20:31, schrieb Anthony Liguori:
> Irrespective of anything else, I think it's safe to say the experiment of
> "rich
> errors" has been a failure. We still have way too many places using
> error_report.
>
> As I mentioned in another thread, I think we should:
>
> 1) Introduce a GENERIC_ERROR QError type. It could have a 'domain' and a
> 'msg'
> field.
>
> 2) Focus on converting users of error_report over to use propagated Error
> objects.
>
> We shouldn't/can't change existing QError users. We also shouldn't consider
> changing the wire protocol. But for new error users, we should/can relax the
> reported errors.
>
> We need a clear support policy on whether the contents of 'msg' are stable or
> not too.
Another point that you used to bring up in earlier discussions is
translated error messages. If we start returning error messages that are
meant to displayed to the user, should we get your gettext patches
applied which you did for the GTK backend? libvirt would then have to
pay attention to start qemu with the same locale as the client has.
Kevin
- 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, 2012/06/26
- Re: [Qemu-devel] [RFC] Fixing the error failure, Daniel P. Berrange, 2012/06/21