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

Re: [Xen-devel] Why does xc_map_foreign_range() refuse to map pfns below 1M from a domU



>> The Linux domU is perfectly able to map (using xc_map_foreign_range())
>> pages from the Windows domU, except for pages below 1M.
>
> With no XSM how does it have the privilege to do this?

What I meant to say is that the domU is being allowed to do this sort
of thing, i.e. the problem is definitely not caused by XSM.

>>  For pages
>> below 1M, it returns "invalid argument". The same code, trying to map
>> the exact same pages, does succeed, however, if the application trying
>> to map those pages runs from dom0.
>
> For dom0 it works because by default dom0 has the foreign mapping
> privilege.

OK, and can the foreign mapping privilege be extended to the domU so
that it can go about mapping pages under 1M? Is there some way this
can be achieved with xl, or even by hacking the HV source code
somehow?


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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