Home
last modified time | relevance | path

Searched full:xen (Results 1 – 25 of 191) sorted by relevance

12345678

/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dxen.txt1 * Xen hypervisor device tree bindings
3 Xen ARM virtual platforms shall have a top-level "hypervisor" node with
7 compatible = "xen,xen-<version>", "xen,xen";
8 where <version> is the version of the Xen ABI of the platform.
19 - interrupts: the interrupt used by Xen to inject event notifications.
22 To support UEFI on Xen ARM virtual platforms, Xen populates the FDT "uefi" node
28 xen,uefi-system-table | 64-bit | Guest physical address of the UEFI System
31 xen,uefi-mmap-start | 64-bit | Guest physical address of the UEFI memory
34 xen,uefi-mmap-size | 32-bit | Size in bytes of the UEFI memory map
37 xen,uefi-mmap-desc-size | 32-bit | Size in bytes of each entry in the UEFI
[all …]
/freebsd/share/man/man4/
H A Dxen.433 .Nm xen
34 .Nd Xen Hypervisor Support
36 FreeBSD supports running both as a Xen guest and host on amd64 hardware.
43 The Xen Hypervisor allows multiple virtual machines to be run on a single
45 When first released, Xen required that i386 kernels be compiled
65 .Ss Xen device drivers
72 Exports local block devices or files to other Xen domains where they can
76 Import block devices from other Xen domains as local block devices, to be
79 Export the low-level system console via the Xen console service.
84 Expose Xen events via the
[all …]
/freebsd/sys/x86/xen/
H A Dpv.c73 #include <xen/xen-os.h>
74 #include <xen/hvm.h>
75 #include <xen/hypervisor.h>
76 #include <xen/xenstore/xenstorevar.h>
77 #include <xen/xen_pv.h>
79 #include <contrib/xen/arch-x86/cpuid.h>
80 #include <contrib/xen/arch-x86/hvm/start_info.h>
81 #include <contrib/xen/vcpu.h>
83 #include <dev/xen/timer/timer.h>
91 /* Xen initial function */
[all …]
H A Dxen_apic.c47 #include <xen/xen-os.h>
48 #include <xen/features.h>
49 #include <xen/gnttab.h>
50 #include <xen/hypervisor.h>
51 #include <xen/hvm.h>
52 #include <xen/xen_intr.h>
54 #include <contrib/xen/arch-x86/cpuid.h>
55 #include <contrib/xen/vcpu.h>
75 /*--------------------------------- Xen IPIs ---------------------------------*/
100 * Save previous (native) handler as a fallback. Xen < 4.7 doesn't support
[all …]
H A Dhvm.c55 #include <xen/xen-os.h>
56 #include <xen/error.h>
57 #include <xen/features.h>
58 #include <xen/gnttab.h>
59 #include <xen/hypervisor.h>
60 #include <xen/hvm.h>
61 #include <xen/xen_intr.h>
63 #include <contrib/xen/arch-x86/cpuid.h>
64 #include <contrib/xen/hvm/params.h>
65 #include <contrib/xen/vcpu.h>
[all …]
H A Dxen_arch_intr.c46 #include <xen/xen-os.h>
47 #include <xen/xen_intr.h>
48 #include <machine/xen/arch-intr.h>
52 /************************ Xen x86 interrupt interface ************************/
70 snprintf(buf, sizeof(buf), "cpu%d:xen", i); in xen_intrcnt_init()
111 static MALLOC_DEFINE(M_XENINTR, "xen_intr", "Xen Interrupt Services");
196 * a Xen interrupt source.
300 mtx_init(&xen_intr_x86_lock, "xen-x86-table-lock", NULL, MTX_DEF); in xen_arch_intr_init()
304 panic("%s(): failed registering Xen/x86 PIC, error=%d\n", in xen_arch_intr_init()
309 * Allocate a Xen interrupt source object.
[all …]
/freebsd/sys/amd64/amd64/
H A Dxen-locore.S37 #include <xen/xen-os.h>
39 #include <contrib/xen/elfnote.h>
50 ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz, "FreeBSD")
51 ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz, __XSTRING(__FreeBSD_version))
52 ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz, "xen-3.0")
53 ELFNOTE(Xen, XEN_ELFNOTE_VIRT_BASE, .quad, KERNBASE)
54 ELFNOTE(Xen, XEN_ELFNOTE_PADDR_OFFSET, .quad, 0)
55 ELFNOTE(Xen, XEN_ELFNOTE_HYPERCALL_PAGE, .quad, hypercall_page)
56 ELFNOTE(Xen, XEN_ELFNOTE_HV_START_LOW, .quad, HYPERVISOR_VIRT_START)
57 …ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz, "writable_descriptor_tables|auto_translated_physm…
[all …]
/freebsd/sys/xen/
H A Dhypervisor.h14 #include <contrib/xen/xen.h>
15 #include <contrib/xen/platform.h>
16 #include <contrib/xen/event_channel.h>
17 #include <contrib/xen/physdev.h>
18 #include <contrib/xen/sched.h>
19 #include <contrib/xen/callback.h>
20 #include <contrib/xen/memory.h>
21 #include <contrib/xen/hvm/dm_op.h>
22 #include <machine/xen/hypercall.h>
H A Dxen_common.c31 #include <sys/param.h> /* required by xen/xen-os.h */
36 #include <machine/atomic.h> /* required by xen/xen-os.h */
38 #include <xen/xen-os.h>
39 #include <xen/hvm.h>
41 #include <contrib/xen/vcpu.h>
71 KASSERT(xen_domain(), ("%s(): invoked when not on Xen?", __func__)); in xen_setup_vcpu_info()
94 "WARNING: Xen vCPU %u failed to setup vcpu_info rc = %d\n", in xen_setup_vcpu_info()
H A Dxen-os.h2 * xen/xen-os.h
6 * Copyright (c) 2003, 2004 Keir Fraser (on behalf of the Xen team)
39 #include <contrib/xen/xen.h>
44 #include <xen/hvm.h>
45 #include <contrib/xen/event_channel.h>
110 #include <machine/xen/xen-os.h>
118 * Those helpers are prefixed by xen_ because xen
[all...]
/freebsd/sys/dev/xen/timer/
H A Dxen_timer.c32 * \file dev/xen/timer/xen_timer.c
33 * \brief A timer driver for the Xen hypervisor's PV clock.
49 #include <xen/xen-os.h>
50 #include <xen/features.h>
51 #include <xen/xen_intr.h>
52 #include <xen/hypervisor.h>
53 #include <contrib/xen/io/xenbus.h>
54 #include <contrib/xen/vcpu.h>
55 #include <xen/error.h>
64 #include <dev/xen/timer/timer.h>
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iommu/
H A Dxen,grant-dma.yaml4 $id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml#
7 title: Xen specific IOMMU for virtualized devices (e.g. virtio)
13 The Xen IOMMU represents the Xen grant table interface. Grant mappings
14 are to be used with devices connected to the Xen IOMMU using the "iommus"
16 The binding is required to restrict memory access using Xen grant mappings.
20 const: xen,grant-dma
37 compatible = "xen,grant-dma";
/freebsd/sys/contrib/xen/
H A Delfnote.h4 * Definitions used for the Xen ELF notes.
33 * The notes should live in a PT_NOTE segment and have "Xen" in the
86 * The version of Xen that we work with (string).
117 * For compatibility with Xen 3.0.3 and earlier the "bimodal" setting
118 * may be given as "yes,bimodal" which will cause older Xen to treat
194 * Other than XEN_ELFNOTE_FEATURES on pre-4.2 Xen, this note allows a
208 * guest kernel in a HVM container, Xen will use this entry point to
224 * information about the system, see xen/include/xen/elfcore.h.
234 * See xen/include/xen/elfcore.h for more information.
240 * xen dump-core none note.
[all …]
H A Dgrant_table.h31 #include "xen.h"
36 * Xen's grant tables provide a generic mechanism to memory sharing
41 * is shared with Xen; it allows the domain to tell Xen what kind of
62 * reference implementation for guest OSes (drivers/xen/grant_table.c, see
63 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;…
118 * page frames shared between Xen and a guest.
119 * [XEN]: This field is written by Xen and read by the sharing guest.
120 * [GST]: This field is written by the guest and read by Xen.
133 /* GTF_xxx: various type and flag information. [XEN,GST] */
141 * (non-translated guests only). [XEN]
[all …]
H A Dkexec.h22 * Xen port written by:
31 /* This file describes the Kexec / Kdump hypercall interface for Xen.
34 * into a new user-specified kernel. The Xen port extends this idea
38 * Linux and Xen and back again. Xen to Xen works well too.
59 #include "xen.h"
87 /* The kexec implementation for Xen allows the user to load two
141 #define KEXEC_RANGE_MA_XEN 1 /* machine address and size of Xen itself */
145 * to Xen it exists in a separate EFI
/freebsd/sys/dev/xen/debug/
H A Ddebug.c43 #include <xen/xen-os.h>
44 #include <xen/xen_intr.h>
45 #include <xen/hypervisor.h>
48 * Xen debug device
51 * vCPU on the Xen console.
95 ("Trying to add Xen debug device to non-xen guest")); in xendebug_identify()
101 panic("Unable to add Xen debug device."); in xendebug_identify()
108 device_set_desc(dev, "Xen debug handler"); in xendebug_probe()
117 mtx_init(&lock, "xen-dbg", NULL, MTX_SPIN); in xendebug_attach()
/freebsd/sys/dev/xen/balloon/
H A Dballoon.c4 * Xen balloon driver - enables returning/claiming memory to/from Xen.
44 #include <xen/xen-os.h>
45 #include <xen/hypervisor.h>
46 #include <xen/features.h>
47 #include <xen/xenstore/xenstorevar.h>
49 static MALLOC_DEFINE(M_BALLOON, "Balloon", "Xen Balloon Driver");
63 /* We may hit the hard limit in Xen. If we do then we remember it. */
89 &bs.hard_limit, 0, "Xen hard limit");
178 /* We hit the Xen hard limit: reprobe. */ in increase_reservation()
228 * other domains on the same host. Xen doesn't scrub ballooned in decrease_reservation()
[all …]
/freebsd/sys/dev/xen/control/
H A Dcontrol.c108 #include <xen/xen-os.h>
109 #include <xen/blkif.h>
110 #include <xen/evtchn.h>
111 #include <xen/gnttab.h>
112 #include <xen/xen_intr.h>
114 #include <xen/hvm.h>
116 #include <contrib/xen/event_channel.h>
117 #include <contrib/xen/grant_table.h>
119 #include <xen/xenbus/xenbusvar.h>
168 printf("WARNING: xen/control: Suspend not supported!\n"); in xctrl_suspend()
[all …]
/freebsd/sys/contrib/xen/arch-x86/
H A Dcpuid.h4 * CPUID interface to Xen.
27 * Keir Fraser <keir@xen.org>
34 * For compatibility with other hypervisor interfaces, the Xen cpuid leaves
38 * e.g If viridian extensions are enabled for an HVM domain, the Xen cpuid
47 * EAX: Largest Xen-information leaf. All leaves up to an including @EAX
48 * are supported by the Xen host.
50 * of a Xen host.
58 * EAX[31:16]: Xen major version.
59 * EAX[15: 0]: Xen minor version.
67 * EBX: Base address of Xen-specific MSRs.
H A Dxen-mca.h7 * Guest OS machine check interface to x86 Xen.
36 * 4. Dom0 wants Xen to notify a DomU
38 * 6. Dom0 wants Xen to kill DomU (already done for "xm destroy")
41 * 7. Dom0 wants Xen to deactivate a physical CPU
44 * 8. Page migration proposed from Xen NUMA work, where Dom0 can tell Xen to
48 * Xen free's and never re-uses a certain physical page.
50 * and tell Xen to trigger a machine check
60 * The xen-unstable repo has interface version 0x03000001; out interface
63 * than that used in xen-unstable.
181 /* Xen takes successful recovery action, the error is recovered */
[all …]
/freebsd/sys/contrib/device-tree/src/arm/xen/
H A Dxenvm-4.2.dts3 * Xen Virtual Machine for unprivileged guests
14 compatible = "xen,xenvm-4.2", "xen,xenvm";
72 compatible = "xen,xen-4.2", "xen,xen";
/freebsd/sys/dev/xen/xenpci/
H A Dxenpci.c41 #include <xen/xen-os.h>
42 #include <xen/features.h>
43 #include <xen/hypervisor.h>
44 #include <xen/hvm.h>
45 #include <xen/xen_intr.h>
50 #include <dev/xen/xenpci/xenpcivar.h>
68 * Xen. Since the PCI interrupt can fire on any CPU by default, we in xenpci_irq_init()
134 device_set_desc(dev, "Xen Platform Device"); in xenpci_probe()
139 * Attach - find resources and talk to Xen.
/freebsd/sys/x86/include/xen/
H A Dxen-os.h2 * x86/xen/xen-os.h
6 * Copyright (c) 2003, 2004 Keir Fraser (on behalf of the Xen team)
32 #error "do not #include machine/xen/xen-os.h, #include xen/xen-os.h instead"
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dxen,shared-memory.txt1 * Xen hypervisor reserved-memory binding
10 xen-shmem@<address> and has the following properties:
13 compatible = "xen,shared-memory-v1"
18 - xen,offset: (borrower VMs only)
22 - xen,id:
/freebsd/tools/kerneldoc/subsys/
H A DDoxyfile-xen6 PROJECT_NAME = "FreeBSD xen subsystem code"
7 OUTPUT_DIRECTORY = $(DOXYGEN_DEST_PATH)/xen/
12 INPUT = $(DOXYGEN_SRC_PATH)/xen/
14 GENERATE_TAGFILE = xen/xen.tag

12345678