summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2020-11-21 00:42:06 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-12-14 15:50:55 +1100
commit9a07069958705f426180829f807f0b84ec295b93 (patch)
tree5daab708a5a07be4526f893e3ec9ced75da29adc /scripts/qapi/expr.py
parentf5598c92b84047c395836985715ff62c856ff2fe (diff)
downloadfocaccia-qemu-9a07069958705f426180829f807f0b84ec295b93.tar.gz
focaccia-qemu-9a07069958705f426180829f807f0b84ec295b93.zip
spapr: Do PHB hoplug sanity check at pre-plug
We currently detect that a PHB index is already in use at plug time.
But this can be decteted at pre-plug in order to error out earlier.

This allows to pass &error_abort to spapr_drc_attach() and to end
up with a plug handler that doesn't need to report errors anymore.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20201120234208.683521-8-groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions