summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorGreg Kurz2017-05-19 12:32:12 +0200
committerDavid Gibson2017-05-24 03:39:53 +0200
commit3d85885a1b1f389d38ae3c71e439635207cfcf4d (patch)
tree076f09af81e0db8719e7c6073bd0f63dc56a1a2a /include/exec/user
parentspapr_cpu_core: drop reference on ICP object during CPU realization (diff)
downloadqemu-3d85885a1b1f389d38ae3c71e439635207cfcf4d.tar.gz
qemu-3d85885a1b1f389d38ae3c71e439635207cfcf4d.tar.xz
qemu-3d85885a1b1f389d38ae3c71e439635207cfcf4d.zip
spapr: fix error reporting in xics_system_init()
If the user explicitely asked for kernel-irqchip support and "xics-kvm" initialization fails, we shouldn't fallback to emulated "xics" as we do now. It is also awkward to print an error message when we have an errp pointer argument. Let's use the errp argument to report the error and let the caller decide. This simplifies the code as we don't need a local Error * here. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions