From: Alex Bligh Subject: Re: Fatal crash on xen4.2 HVM + qemu-xen dm + NFS Date: Mon, 21 Jan 2013 18:14:44 +0000 Message-ID: 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> <1358789574.3279.273.camel@zakaz.uk.xensource.com> Reply-To: Alex Bligh Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1358789574.3279.273.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Konrad Wilk , Xen Devel , Alex Bligh , Jan Beulich , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian, --On 21 January 2013 17:32:54 +0000 Ian Campbell wrote: > You would also need to malloc/free the buffer you are copying to/from. I > don't know how hard that is within qemu. I think it's ioreq_map and ioreq_unmap within hw/xen_disk.c. I had foolishly assumed xc would do the grant copy, but it looks like as you say I need malloc/free (or mmap equivalents) + memcpy. Is this a useful approach to try? -- Alex Bligh