qemu-devel
[Top][All Lists]
Advanced

[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.

[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]