|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] netif & grant tables
On 4 Jul 2005, at 19:43, Stefan Berger wrote:
linux-2.6.11-xen-sparse/arch/xen/i386/mm/ioremap.c:
direct_remap_area_pages()
calls
HYPERVISOR_mmu_update calls
xen/arch/x86/mm.c:do_mmu_update calls
set_foreigndom() which has an IS_PRIV() in the path
-> The direct_remap_area_pages call fails if a domain does not have the
privilege bit set.
The backend driver parts that use this function need cleaning up to use
a grant reference instead.
netback/netback.c: alloc_mfn() calls
HYPERVISOR_dom_mem_op(MEMOP_increase_reservation, mfn_list,
MAX_MFN_ALLOC, 0);
xen/common/dom_mem_ops.c:do_dom_mem_op() is called which has a
IS_PRIV() in the path
It only disallows you from adjusting others' reservations. You can
still adjust your own.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|