|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] passing hypercall parameters by pointer
>From: Hollis Blanchard
>Sent: Thursday, August 18, 2005 6:05 AM
> case DOM0_GETMEMLIST:
> op->u.getmemlist.buffer =
virt_to_phys(op->u.getmemlist.buffer);
> break;
If following Ian's suggestion, you have to create a list of pfn here
instead of only converting start address. There's no guaranty that the
buffer is limited in one page. ;-)
Thanks,
Kevin
> case DOM0_SETDOMAININFO:
> ...
> case DOM0_READCONSOLE:
> ...
> }
> }
> break;
> }
>
>Right now the kernel doesn't peer inside the hypercall structures at
all.
>
>--
>Hollis Blanchard
>IBM Linux Technology Center
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|