search for: is_map

Displaying 5 results from an estimated 5 matches for "is_map".

Did you mean: io_map
2008 Sep 28
2
is_mapped() in xc_domain_save()
Hi all, I think I have a pretty good grasp on domain save/migration code in xc_domain_save() in Xen 3.2.x, except for the what the is_mapped() macro is doing in following: /* Hypercall interfaces operate in PFNs for HVM guests * and MFNs for PV guests */ if ( hvm ) pfn_type[batch] = n; else pfn_type[batch] = pfn_to_mfn(n); if ( !is_mapped(pfn_type[batch]) ) { /* ** not currently in psuedo-physical map -- set bit...
2018 Jul 31
0
[PATCH nbdkit 3/4] Add map filter.
...q_end, + map->map[i].plugin_start, filename, map->map[i].lineno); + + return 0; + + err: + fclose (fp); + free (line); + map_free (map); + return -1; +} + +/* Look up a single address in the map. + * + * If mapped, returns the mapping index (in map[]). In this case + * *is_mapped == true. + * + * If unmapped, returns the mapping index of the next mapped area + * (which can be >= nr_map if there are no more mappings). In this + * case *is_mapped == false. + * + * Note this only works because of the invariant that mappings are not + * allowed to overlap. See descripti...
2001 Aug 09
2
Solaris X86 Wine
...#include <sys/stat.h> #include <sys/mman.h> #include <errno.h> #include <unistd.h> #include <fcntl.h> #include <assert.h> #include <alloca.h> #include <stdio.h> #include <string.h> #include <signal.h> #include <procfs.h> static int is_mapped_test (uintptr_t vaddr, size_t size, const prmap_t *asmap, int n) { int i = 0, j = n; while (i < j) { int m = (i + j) / 2; const prmap_t *o = &asmap[m]; if ((uintptr_t) o->pr_vaddr >= vaddr + size) j = m; else if ((uintptr_t) o...
2018 Jul 31
7
[PATCH nbdkit 0/4] Add truncate and map filters.
This patch series proposes two new filters. * truncate: This can truncate, extend, round up or round down the size of a plugin/device. A typical usage is to fix the qemu problem that it can only handle devices which are a multiple of 512-bytes: nbdkit --filter=truncate random size=500 round-up=512 This will serve a virtual device with size 512 bytes. Reading from the last 12 bytes will
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