Am 31.01.2013 21:40, schrieb Andreas Färber: > Since commit 65dee38052597b6285eb208125369f01b29ba6c1 (target-i386: > move cpu_reset and reset callback to cpu.c) the x86 CPU is reset through > cpu_init() but was still reset immediately after in linux-user and > bsd-user. Clean this up. > > Similarly it is also reset after cpu_copy(), but that's a bug of its own. > > Reviewed-by: Igor Mammedov <imamm...@redhat.com> > Signed-off-by: Andreas Färber <afaer...@suse.de> > --- > v2 -> v3: > * Don't touch cpu_copy() at all, only fixing the double reset > and not changing cpu_copy() behavior.
Applied this stripped-down version to qom-cpu: https://github.com/afaerber/qemu-cpu/commits/qom-cpu Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg