Displaying 7 results from an estimated 7 matches for "add_mapping".
2013 Jan 30
2
[PATCH] PVH: remove code to map iomem from guest
...h/x86/xen/mmu.c
index b4be4c9..fbf6a63 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -333,20 +333,6 @@ static void xen_set_pte(pte_t *ptep, pte_t pteval)
__xen_set_pte(ptep, pteval);
}
-void xen_set_clr_mmio_pvh_pte(unsigned long pfn, unsigned long mfn,
- int nr_mfns, int add_mapping)
-{
- struct physdev_map_iomem iomem;
-
- iomem.first_gfn = pfn;
- iomem.first_mfn = mfn;
- iomem.nr_mfns = nr_mfns;
- iomem.add_mapping = add_mapping;
-
- if (HYPERVISOR_physdev_op(PHYSDEVOP_map_iomem, &iomem))
- BUG();
-}
-
static void xen_set_pte_at(struct mm_struct *mm, unsigned long addr...
2012 Oct 16
1
Bug#690630: blktap-utils: bashism in /bin/sh script
...lternative test command
([[ foo ]] should be [ foo ])):
> [[ -r $vhd && -r $lib ]] || die "can't find vhd or lib"
>possible bashism in ./usr/sbin/vhdpartx line 102 (alternative test command
([[ foo ]] should be [ foo ])):
> [[ -n "$add" ]] && add_mappings
>possible bashism in ./usr/sbin/vhdpartx line 103 (alternative test command
([[ foo ]] should be [ foo ])):
> [[ -n "$del" ]] && del_mappings
>possible bashism in ./usr/sbin/vhdpartx line 104 (alternative test command
([[ foo ]] should be [ foo ])):
> [[ -n &q...
2018 Jul 31
0
[PATCH nbdkit 3/4] Add map filter.
...the map+1. */
+int64_t
+map_size (struct map *map)
+{
+ if (map->nr_map == 0)
+ return 0;
+ else
+ return map->map[map->nr_map-1].rq_end + 1;
+}
+
+/* Add a single new mapping at the end of the map. Does NOT maintain
+ * the invariant, use insert_mapping instead.
+ */
+static int
+add_mapping (struct map *map, const struct mapping *mapping)
+{
+ struct mapping *new_map;
+
+ map->nr_map++;
+ new_map = realloc (map->map, map->nr_map * sizeof map->map[0]);
+ if (new_map == NULL) {
+ nbdkit_error ("realloc: %m");
+ return -1;
+ }
+ map->map = new_map;
+...
2013 Jan 19
21
[PATCH]: PVH: specify xen features strings cleany for PVH
On Thu, 17 Jan 2013 22:22:47 -0500
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> Jan had some comments about that patch:
>
> https://patchwork.kernel.org/patch/1745041/
>
> Please fix it up so I can put it in the Linux tree.
Please see below.
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Thanks,
Mukesh
diff --git a/arch/x86/xen/xen-head.S
2007 May 30
30
[VTD][patch 0/5] HVM device assignment using vt-d
...int32_t machine_bdf);
int xc_domain_ioport_mapping(int xc_handle,
uint32_t domid,
uint32_t first_gport,
uint32_t first_mport,
uint32_t nr_ports,
uint32_t add_mapping);
int xc_irq_mapping(int xc_handle,
uint32_t domain_id,
uint32_t method,
uint32_t machine_irq,
uint32_t device,
uint32_t intx,
uint32_t add_mapping);
int xc_domain_memory_mapping(int...
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
2013 Jun 26
24
Re: [XenARM] XEN tools for ARM with Virtualization Extensions
(moving to xen-devel, xen-arm is for the older PV ARM port)
On Tue, 2013-06-25 at 23:59 +0000, Eric Trudeau wrote:
> Hi, I am trying to build the XEN tools for our port of XEN to our
> Cortex A15-based platform.
>
> I am using the repo at git://xenbits.xenproject.org/xen.git to
> cross-compile the tools into our rootfs.
Which branch/changeset are you using?
I've heard that