sev: Add Error ** to sev_kvm_init()
commitc9f5aaa6bce819c1863c2a56b187cb9eb521fc92
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 4 Jun 2020 04:18:52 +0000 (4 14:18 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 8 Feb 2021 05:57:38 +0000 (8 16:57 +1100)
tree63ec7cac1c3fe0d9a45aa044134e00bc36878655
parente0292d7c62673546c01d5c6b245735fdfef81840
sev: Add Error ** to sev_kvm_init()

This allows failures to be reported richly and idiomatically.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
accel/kvm/kvm-all.c
accel/kvm/sev-stub.c
include/sysemu/sev.h
target/i386/sev.c