spapr: Use error_append_hint() in spapr_reallocate_hpt()
commitc3e051ed6d2a0337fa5172d27231a193f18f92c4
authorGreg Kurz <groug@kaod.org>
Mon, 26 Oct 2020 12:40:40 +0000 (26 13:40 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 27 Oct 2020 14:08:53 +0000 (28 01:08 +1100)
tree17f29a583517a6bcd5f21a7fe27dd466192e9d79
parent6e837f98ba03bab8008b7c1a6c125298ce41de7a
spapr: Use error_append_hint() in spapr_reallocate_hpt()

Hints should be added with the dedicated error_append_hint() API
because we don't want to print them when using QMP. This requires
to insert ERRP_GUARD as explained in "qapi/error.h".

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <160371604030.305923.17464161378167312662.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c