From: Tej Subject: Large struct reference in Hypercall Date: Tue, 20 Jan 2009 21:04:50 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hey all I am trying a simple hypercall between dom0 and Xen hypervisor (__hypercall2). I am passing arg to hypercall as pointer to a strucutre. As i increase the size of struct more then some fixed value say 16000bytes then machine reboots at following code code of copy_from_guest: const typeof(*(ptr)) *_s = (hnd).p; ............<= this location typeof(*(ptr)) *_d = (ptr); raw_copy_from_guest(_d, _s+(off), sizeof(*_d)*(nr)); i not getting the the reference of this .p element in hnd (which is basically a struct passed from dom0). any clue? or i am missing something? thanks for any help.