hw/isa/vt82c686: Reuse errp
commitc1561d1deba5a58c49b57afb72785e70ccb08dc9
authorBernhard Beschow <shentey@gmail.com>
Thu, 1 Sep 2022 11:41:18 +0000 (1 13:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (31 11:32 +0100)
tree39997685017e6b469fa4ab66f54f8134a6a1960f
parentdd28cc87aa0295743b577145a8afc76cc9292618
hw/isa/vt82c686: Reuse errp

Rather than terminating abruptly, make use of the already present errp and
propagate the error to the caller.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220901114127.53914-5-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c