Am 22.06.2015 um 18:36 schrieb Paolo Bonzini: > On 22/06/2015 18:33, Andreas Färber wrote: >>>> On the other hand, I wonder if current_cpu is available in >>>> qemu_system_guest_panicked. If so, you could add the field to the >>>> generic CPUState struct and migrate it as a subsection of >>>> vmstate_cpu_common. >> Hm, not sure whether it is. > > It should be... Obviously depends on the call site. :) At some point in cpu-exec.c, current_cpu gets set to NULL. So the function would at least deserve a comment on when (not to) use it. Cheers, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe kvm" in