Am 28.06.2013 19:32, schrieb Richard Henderson: > On 06/28/2013 06:23 AM, Andreas Färber wrote: >> A transition from CPUFooState to FooCPU can be considered safe, >> just like FooCPU::env access in the opposite direction. >> The only benefit of the FOO_CPU() casts would be protection against >> bogus CPUFooState pointers, but then surrounding code would likely >> break, too. >> >> This should slightly improve interrupt etc. performance. >> >> Reported-by: Anthony Liguori <aligu...@us.ibm.com> >> Signed-off-by: Andreas Färber <afaer...@suse.de> > > Acked-by: Richard Henderson <r...@twiddle.net>
Thanks, applied to qom-cpu (with extended commit message): 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