Variable autostart is not used outside main()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5419 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
34a3d2399b
commit
41bd639b26
1
sysemu.h
1
sysemu.h
@ -88,7 +88,6 @@ extern int cursor_hide;
|
|||||||
extern int graphic_rotate;
|
extern int graphic_rotate;
|
||||||
extern int no_quit;
|
extern int no_quit;
|
||||||
extern int semihosting_enabled;
|
extern int semihosting_enabled;
|
||||||
extern int autostart;
|
|
||||||
extern int old_param;
|
extern int old_param;
|
||||||
extern const char *bootp_filename;
|
extern const char *bootp_filename;
|
||||||
|
|
||||||
|
5
vl.c
5
vl.c
@ -230,7 +230,6 @@ int daemonize = 0;
|
|||||||
const char *option_rom[MAX_OPTION_ROMS];
|
const char *option_rom[MAX_OPTION_ROMS];
|
||||||
int nb_option_roms;
|
int nb_option_roms;
|
||||||
int semihosting_enabled = 0;
|
int semihosting_enabled = 0;
|
||||||
int autostart = 1;
|
|
||||||
#ifdef TARGET_ARM
|
#ifdef TARGET_ARM
|
||||||
int old_param = 0;
|
int old_param = 0;
|
||||||
#endif
|
#endif
|
||||||
@ -8502,6 +8501,7 @@ int main(int argc, char **argv)
|
|||||||
int tb_size;
|
int tb_size;
|
||||||
const char *pid_file = NULL;
|
const char *pid_file = NULL;
|
||||||
VLANState *vlan;
|
VLANState *vlan;
|
||||||
|
int autostart;
|
||||||
|
|
||||||
LIST_INIT (&vm_change_state_head);
|
LIST_INIT (&vm_change_state_head);
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
@ -8573,7 +8573,8 @@ int main(int argc, char **argv)
|
|||||||
nb_nics = 0;
|
nb_nics = 0;
|
||||||
|
|
||||||
tb_size = 0;
|
tb_size = 0;
|
||||||
|
autostart= 1;
|
||||||
|
|
||||||
optind = 1;
|
optind = 1;
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if (optind >= argc)
|
if (optind >= argc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user