[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Large struct reference in Hypercall


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Tej <bewith.tej@xxxxxxxxx>
  • Date: Tue, 20 Jan 2009 21:04:50 +0530
  • Delivery-date: Tue, 20 Jan 2009 07:35:14 -0800
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.