qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 00/38] Delay destruction of memory regions to


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 00/38] Delay destruction of memory regions to instance_finalize
Date: Wed, 18 Sep 2013 20:56:09 +0900

On 18 September 2013 20:26, Paolo Bonzini <address@hidden> wrote:
> But does guest code actually care?  In many cases, I suspect that
> sticking a smp_rmb() in the read side of "unlocked" register accesses,
> and a smp_wmb() in the write side, will do just fine.  And add a
> compatibility property to place a device back under the BQL for guests
> that have problems.

Yuck. This sounds like a recipe for spending the next five years
debugging subtle race conditions. We need to continue to support
the semantics that the architecture and hardware specs define
for memory access orderings to emulated devices.

-- PMM



reply via email to

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