diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-01-14 16:09:39 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:24 -0600 |
commit | 2e55a7dd456140fb8cad2edd22f73dfa2ab8871c (patch) | |
tree | 7d65b96209b15a74e3743b80a8c2d62697219795 /target-xtensa/import_core.sh | |
parent | a1c289577ef50ea81af11866eaa0c0f924cc34ee (diff) | |
download | hqemu-2e55a7dd456140fb8cad2edd22f73dfa2ab8871c.zip hqemu-2e55a7dd456140fb8cad2edd22f73dfa2ab8871c.tar.gz |
xen-hvm: Clean up xen_ram_alloc() error handling
xen_ram_alloc() dies with hw_error() on error, even though its caller
ram_block_add() handles errors just fine. Add an Error **errp
parameter and use it.
Leave case RUN_STATE_INMIGRATE alone, because that looks like some
kind of warning.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'target-xtensa/import_core.sh')
0 files changed, 0 insertions, 0 deletions