Re: KVM crash on unusual PM->RM transition

Avi Kivity
2009-04-14T16:15:56Z

> Avi Kivity wrote:
>
>> - qemu doesn't do smp.
>>
>>
>
> It certainly claims to.
>
>

Sorry, not specific enough: it doesn't do real SMP. Atomic instructions
are translated as multiple, non-atomic instructions, so you can't run
tcg compiled code in parallel. If your host is different than your
target, you have memory ordering issues as well.

What qemu does is to multiplex multiple guest cpus on one host thread.
It's nice but it isn't how kvm works.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.