qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Atomicity of i386 guest atomic instructions


From: Jamie Lokier
Subject: Re: [Qemu-devel] Atomicity of i386 guest atomic instructions
Date: Sat, 24 Apr 2010 03:49:02 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Alexander Graf wrote:
> They should be atomic. TCG SMP swaps between different vCPUs only
> after translation blocks are done. In fact, the only way I'm aware
> of to stop the execution of a TB mid-way is a page fault.

A page fault would interrupt it if the atomic is implemented as
a read followed by a write, and the write faults.

> You can as always check things with the -d parameter.

-- Jamie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]