diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-01-14 16:09:39 +0100 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2016-01-14 16:49:50 +0000 |
commit | 37aa7a0e2fc8219cbe2bda4b7d074b47a67ac917 (patch) | |
tree | 4891802a2840d852539c9b7170b3798bd1aaf323 /LICENSE | |
parent | dced4d2fcb3961358b12ec3a191dd04505f333af (diff) |
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 'LICENSE')
0 files changed, 0 insertions, 0 deletions