Am 19.06.2012 14:09, schrieb Peter Crosthwaite:
> Andreas, will an attribute((destructor)) work ? Cos if it does you can
> put your printf pretty much anwhere rather than vl.c

Yes, it might. main() only seems to call cpus.c:pause_all_vcpus(), so
neither first_cpu nor the CPU(Arch)State would get cleaned up. But then
again all my comments are based on qemu.git master whereas Wei-Ren is
working on 0.14.x IIRC.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to