handle some errors properly so avoid exit() during initialization. this fixes issue #237
This commit is contained in:
@@ -5,7 +5,7 @@ struct uc_struct;
|
||||
|
||||
/* cpus.c */
|
||||
void qemu_init_cpu_loop(struct uc_struct*);
|
||||
void resume_all_vcpus(struct uc_struct*);
|
||||
int resume_all_vcpus(struct uc_struct*);
|
||||
void pause_all_vcpus(struct uc_struct*);
|
||||
void cpu_stop_current(struct uc_struct*);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user