search for: set_foreigndom

Displaying 2 results from an estimated 2 matches for "set_foreigndom".

2007 Dec 10
0
[PATCH] avoid duplication of domain ID in messages
...oweroff); } } Index: 2007-12-10/xen/arch/x86/mm.c =================================================================== --- 2007-12-10.orig/xen/arch/x86/mm.c 2007-12-05 17:13:57.000000000 +0100 +++ 2007-12-10/xen/arch/x86/mm.c 2007-12-10 09:22:53.000000000 +0100 @@ -2028,8 +2028,7 @@ static int set_foreigndom(domid_t domid) if ( unlikely(domid == d->domain_id) ) { - MEM_LOG("Dom %u tried to specify itself as foreign domain", - d->domain_id); + MEM_LOG("Cannot specify itself as foreign domain"); okay = 0; } else if ( un...
2005 Apr 15
0
RE: Problem when doing direct_remap_area_pages() in aprivileged user domain
...ap_area_pages() call in a backend driver that is > running in a privileged user domain. The call ends up with an > error code (-14 = -EFAULT). This in turn is caused by the > hypervisor call > HYPERVISOR_mmu_update() which returns an error code of -22 = > -EINVAL after failing in set_foreigndom due to not (!?!) > being privileged. The same call returns no error if run in domain-0. > However, I found the solution to fix this. I needed to make > a fake(*) PCI device available to the privileged user domain > by adding a line like pci=[''00,07,00''] to the con...