diff options
| author | David Gibson | 2018-06-13 03:55:31 +0200 |
|---|---|---|
| committer | David Gibson | 2018-06-16 08:32:33 +0200 |
| commit | 937c2146a6694b5bc987c2fa89917db4acc9ae39 (patch) | |
| tree | b19cbebc9eadcb77918088838c71b0ac288ba77e /include | |
| parent | spapr: Clean up cpu realize/unrealize paths (diff) | |
| download | qemu-937c2146a6694b5bc987c2fa89917db4acc9ae39.tar.gz qemu-937c2146a6694b5bc987c2fa89917db4acc9ae39.tar.xz qemu-937c2146a6694b5bc987c2fa89917db4acc9ae39.zip | |
pnv: Fix some error handling cpu realize()
In pnv_core_realize() we call two functions with an Error * parameter in
succession, which will go badly if they both cause errors. In fact, a
failure in either of them indicates a qemu internal error, so we can just
use &error_abort in both cases.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
