handle some errors properly so avoid exit() during initialization. this fixes issue #237

This commit is contained in:
Nguyen Anh Quynh
2015-11-12 01:43:41 +08:00
parent 116d96692d
commit 2f297bdd3a
38 changed files with 203 additions and 125 deletions

View File

@@ -17,7 +17,7 @@ typedef struct vm_change_state_entry VMChangeStateEntry;
#define VMRESET_SILENT false
#define VMRESET_REPORT true
void vm_start(struct uc_struct*);
int vm_start(struct uc_struct*);
void qemu_system_reset_request(struct uc_struct*);
void qemu_system_shutdown_request(void);