|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] Large struct reference in Hypercall 
| 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 <=
 |  |  | 
  
    |  |  |