diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-01-14 16:09:38 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:24 -0600 |
commit | a1c289577ef50ea81af11866eaa0c0f924cc34ee (patch) | |
tree | b8f2d893ce65ea38fe1d8509a253d0d50503aba6 /linux-headers | |
parent | 5d96518b1f119dd1301a96ce6066b6053c689de5 (diff) | |
download | hqemu-a1c289577ef50ea81af11866eaa0c0f924cc34ee.zip hqemu-a1c289577ef50ea81af11866eaa0c0f924cc34ee.tar.gz |
xen-hvm: Clean up xen_hvm_init() error handling
xen_hvm_init() returns -1 without cleaning up on some errors (harmless
long as the caller exit()s on error), dies with hw_error() on others.
hw_error() isn't approprate here. Clean up to exit() on all errors.
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 'linux-headers')
0 files changed, 0 insertions, 0 deletions