WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Large struct reference in Hypercall

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Large struct reference in Hypercall
From: Tej <bewith.tej@xxxxxxxxx>
Date: Tue, 20 Jan 2009 21:04:50 +0530
Delivery-date: Tue, 20 Jan 2009 07:35:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=LLkdLK/C/eh2G+6MSmvuDUUqb/et7lV1sV3uO4S3mcY=; b=qUofO/tVYBmOWZ3CKiWsy0yf8cPsC3UkUxYRQf08CrMiB8tIJM+nvKQG42AgpVO/QW v98SU8usT1aiuRob8aJy6UXs701d2vQO0gVBfHDrjXvHjjV7jZlJkZiqihmGeeHabupU jobOZowh90pEuXKRczXvOETgTYT80PeXs+OVc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=YLp+u8CSFnlaORmY10eNw6QmUuB3RjplAoqLWbQATooxp6XDCEm/zQBFj1oP6ZCrK7 isM/EsxBCx2RfsLZg1rYCN4Wg4Ffg3EZKRIBlyjRcN99s+QncSvG+46BMWM2vZyJKYIj hHwmVFTOZHFgD8Lkq8Nc3a5aj9DF4cvquwaow=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Large struct reference in Hypercall, Tej <=