diff options
| author | Markus Armbruster | 2016-01-14 16:09:39 +0100 |
|---|---|---|
| committer | Stefano Stabellini | 2016-01-14 17:49:50 +0100 |
| commit | 37aa7a0e2fc8219cbe2bda4b7d074b47a67ac917 (patch) | |
| tree | 4891802a2840d852539c9b7170b3798bd1aaf323 /include/exec | |
| parent | xen-hvm: Clean up xen_hvm_init() error handling (diff) | |
| download | qemu-37aa7a0e2fc8219cbe2bda4b7d074b47a67ac917.tar.gz qemu-37aa7a0e2fc8219cbe2bda4b7d074b47a67ac917.tar.xz qemu-37aa7a0e2fc8219cbe2bda4b7d074b47a67ac917.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
