On 11/10/2016 05:14 PM, Alex Bennée wrote:
Even worse than that we trip up the atomic.h QEMU_BUILD_BUG_ON with the atomic_cmpxchg. Now I believe we can use atomic_cmpxchg__nocheck without too much issue on x86 but we'll need to #ifdef it on detection of wide atomics.
You've already got CONFIG_ATOMIC64. And what's the fallback?We ought not be enabling mttcg for 32-bit host and 64-bit guest at all. But that doesn't help much here, where we're otherwise guest width agnostic.
r~