From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpJqt-0001yr-GS for qemu-devel@nongnu.org; Wed, 10 Mar 2010 06:13:23 -0500 Received: from [199.232.76.173] (port=35378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpJqs-0001yZ-A3 for qemu-devel@nongnu.org; Wed, 10 Mar 2010 06:13:22 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NpJqr-0007OC-KR for qemu-devel@nongnu.org; Wed, 10 Mar 2010 06:13:22 -0500 Received: from mx20.gnu.org ([199.232.41.8]:19581) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NpJqr-0007Nz-AF for qemu-devel@nongnu.org; Wed, 10 Mar 2010 06:13:21 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NpJqq-0000h2-4q for qemu-devel@nongnu.org; Wed, 10 Mar 2010 06:13:20 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device Date: Wed, 10 Mar 2010 11:13:10 +0000 References: <1267833161-25267-1-git-send-email-cam@cs.ualberta.ca> <8286e4ee1003092038v2eaed1f4i25a12f09cb69ce31@mail.gmail.com> <4B97668C.3060203@redhat.com> In-Reply-To: <4B97668C.3060203@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003101113.11974.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Cam Macdonell , qemu-devel@nongnu.org, kvm@vger.kernel.org > >> As of March 2009[1] Intel guarantees that memory reads occur in order > >> (they may only be reordered relative to writes). It appears AMD do not > >> provide this guarantee, which could be an interesting problem for > >> heterogeneous migration.. > > > > Interesting, but what ordering would cause problems that AMD would do > > but Intel wouldn't? Wouldn't that ordering cause the same problems > > for POSIX shared memory in general (regardless of Qemu) on AMD? > > If some code was written for the Intel guarantees it would break if > migrated to AMD. Of course, it would also break if run on AMD in the > first place. Right. This is independent of shared memory, and is a case where reporting an Intel CPUID on and AMD host might get you into trouble. Paul