The goal is to be able to specify a hint for the case a vmstate equal assertion fails. Was previously discussed here: https://patchwork.kernel.org/patch/9720029/
The third patch is an usage example. It's on top of this https://www.mail-archive.com/qemu-devel@nongnu.org/msg454941.html patch and mimics the behavior of the patch reference above. I have faked the subject of this third patch so patchew does not complain about that not applying on top of master (let's see if that works). Halil Pasic (3): vmstate: error hint for failed equal checks vmstate: error hint for failed equal checks part 2 s390x/css: add hint for devno missmatch hw/s390x/css.c | 6 ++++- include/migration/vmstate.h | 55 ++++++++++++++++++++++++++++++++++++++++----- migration/vmstate-types.c | 36 ++++++++++++++++++++++++----- 3 files changed, 85 insertions(+), 12 deletions(-) -- 2.11.2