tools/libxc: report malloc errors in writev_exact
authorOlaf Hering <olaf@aepfle.de>
Wed, 23 Sep 2020 06:48:40 +0000 (08:48 +0200)
committerWei Liu <wl@xen.org>
Wed, 30 Sep 2020 15:06:38 +0000 (15:06 +0000)
commit0d8d289af7a679c028462c4ed5d98586f9ef9648
treebe0ad4114a16f2908b90d9d82df3b718914a2e03
parentc73952831f0fc63a984e0d07dff1d20f8617b81f
tools/libxc: report malloc errors in writev_exact

The caller of writev_exact should be notified about malloc errors
when dealing with partial writes.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libs/ctrl/xc_private.c