|
| From: | Juan Quintela |
| Subject: | Re: [Qemu-devel] [PATCH 1/1] vmstate: error hint for failed equal checks |
| Date: | Wed, 28 Jun 2017 09:42:52 +0200 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Halil Pasic <address@hidden> wrote: > In some cases a failing VMSTATE_*_EQUAL does not mean we detected a bug, > but it's actually the best we can do. Especially in these cases a verbose > error message is required. > > Let's introduce infrastructure for specifying a error hint to be used if > equal check fails. Let's do this by adding a parameter to the _EQUAL > macros called _err_hint. Also change all current users to pass NULL as > last parameter so nothing changes for them. > > Signed-off-by: Halil Pasic <address@hidden> Reviewed-by: Juan Quintela <address@hidden> Thanks.
| [Prev in Thread] | Current Thread | [Next in Thread] |