From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Fatal crash on xen4.2 HVM + qemu-xen dm + NFS Date: Mon, 21 Jan 2013 17:32:54 +0000 Message-ID: <1358789574.3279.273.camel@zakaz.uk.xensource.com> References: <5B4525F296F6ABEB38B0E614@nimrod.local> <50CEFDA602000078000B0B11@nat28.tlf.novell.com> <3B1D0701EAEA6532CEA91EA0@Ximines.local> <77822E2DDAEA8F94631B6A52@Ximines.local> <1358781790.3279.224.camel@zakaz.uk.xensource.com> <1358783420.3279.235.camel@zakaz.uk.xensource.com> <1358787073.3279.257.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Alex Bligh Cc: Konrad Wilk , Xen Devel , Jan Beulich , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2013-01-21 at 17:31 +0000, Alex Bligh wrote: > > --On 21 January 2013 16:51:13 +0000 Ian Campbell > wrote: > > >> Right, and I'm pretty sure we're not using O_DIRECT as we're using > >> cache=writeback (which is the default). Is there some way to make it > >> copy pages? > > > > Not as far as I know, > > A thought: would it be possible for testing purposes to replace > the grant-map by a grant-copy? How easy would that be? Would that > not provide a page with the same lifecycle as a normal dom0 allocated > one? You would also need to malloc/free the buffer you are copying to/from. I don't know how hard that is within qemu. Ian.