On 29 March 2012 21:49, Xin Tong <xerox.time.t...@gmail.com> wrote: > I am wondering what the solution in qemu is if the guest architecture > has a stronger memory ordering requirement than the host archiecture ? > memory fences ?
In system mode all guest CPUs run in a single host thread so there aren't any ordering issues between host CPUs. In linux-user mode we just hope it isn't actually a problem (threading support is not exactly particularly reliable anyway). -- PMM