user: move CPU reset call to main.c for x86/PPC/Sparc

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-11-07 10:37:06 +00:00
parent d84bda46de
commit b55a37c981
6 changed files with 8 additions and 9 deletions

View file

@ -762,9 +762,6 @@ CPUSPARCState *cpu_sparc_init(const char *cpu_model)
cpu_sparc_close(env);
return NULL;
}
#if defined(CONFIG_USER_ONLY)
cpu_reset(env);
#endif
qemu_init_vcpu(env);
return env;