search for: xc_translate_foreign_address

Displaying 6 results from an estimated 6 matches for "xc_translate_foreign_address".

2008 Dec 19
3
xc_translate_foreign_address() returns mfn??
Hi, I looked at the function xc_translate_foreign_address(), and see that it walks the page table of the guest VM. So at best, it should return the pfn of the guest (?) We can see taht the Later part of the function is like this: ... if (pt_levels >= 3) mfn = (pte & L0_PAGETABLE_MASK_PAE) >> PAGE_SHIFT; else...
2006 Jun 15
1
Bug with xc_translate_foreign_address?
Hi all, I am receiving an error on a VT HVM, which appears to be located in the function xc_translate_foreign_address. Running the xenctx tool on a VT HVM (xen-testing 3.0.2) it returns: # ./xenctx -f 1 eip: c027b646 esp: c0441ed4 eax: 000000c4 ebx: c0495300 ecx: 000001f7 edx: 000001f7 esi: c0495394 edi: 00000000 ebp: c027fec0 cs: 00000060 ds: 0000007b fs: 00000000 gs: 00000033 Stack: fai...
2008 Mar 19
2
Where is the xc_translate_foreign_address~~~
Does anyone know which .c file contains the source code of the function named xc_tranlate_foreign_address? I found the declaration of this function in tools/libxc/xenctrl.h, and now I want to know the implementation of this function. Thanks ~~~ Wish you good luck~~~ yours:Lin _______________________________________________ Xen-devel mailing
2007 Sep 08
5
update_va_mapping_otherdomain
...C program linked against libxc and a kernel module which performs the following simple sequence of events from domain zero: 1. Pause guest (unprivileged) 2. Grabs the PTE associated with a random (but present) page within the guest''s kernel''s address space (using a modified xc_translate_foreign_address) 3. Flips the present bit to zero 4. Calls HYPERVISOR_update_va_mapping otherdomain (from the kernel module) 5. Re-performs xc_translate_foreign_address on the same PTE 6. Verifies the the present bit was indeed changed to zero Upon successful return from update_va_mapping (i.e. return code == zer...
2008 Jul 10
2
question about mapping memory from Dom0 to domU
Hi: I wanna write code about sharing memory between dom0 and domU, and I decide to use void *xc_map_foreign_range(int xc_handle, unint32_t dom, int size, int port, unsigned long mfn) (this is a function in xenctl.h). My question is : If I wanna map a range of memory in dom0 to domU, how can I get the value of mfn? and I do not know the port here. Can anybody help me ? Thanks .
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
The following dump-core patches changes its format into ELF, adds PFN-GMFN table, HVM support, and adds experimental IA64 support. - ELF format Program header and note section are adopted. - HVM domain support To know the memory area to dump, XENMEM_set_memory_map is added. XENMEM_memory_map hypercall is for current domain, so new one is created. and hvm domain builder tell xen its