On 8/23/19 7:04 PM, Richard Henderson wrote: > On 8/23/19 6:58 AM, Philippe Mathieu-Daudé wrote: >> @@ -2535,6 +2544,7 @@ static const ARMCPUInfo arm_cpus[] = { >> { .name = "arm1176", .initfn = arm1176_initfn }, >> { .name = "arm11mpcore", .initfn = arm11mpcore_initfn }, >> { .name = "cortex-m0", .initfn = cortex_m0_initfn, >> +#endif >> .class_init = arm_v7m_class_init }, >> { .name = "cortex-m3", .initfn = cortex_m3_initfn, >> .class_init = arm_v7m_class_init }, > > Ifdef is misplaced. This shouldn't even compile without CONFIG_TCG.
What a shame... I hope I messed this due to a failed rebase... > Also, m-profile shouldn't work with kvm either, so I think the endif should go > below cortex-m33. Obviously.