Home
last modified time | relevance | path

Searched +full:uapi +full:- +full:header (Results 1 – 12 of 12) sorted by relevance

/qemu/docs/devel/migration/
H A Dvfio.rst10 Migration of VFIO devices consists of two phases: the optional pre-copy phase,
11 and the stop-and-copy phase. The pre-copy phase is iterative and allows to
13 transferred. The iterative pre-copy phase of migration allows for the guest to
15 helps to reduce the total downtime of the VM. VFIO devices opt-in to pre-copy
19 When pre-copy is supported, it's possible to further reduce downtime by
20 enabling "switchover-ack" migration capability.
21 VFIO migration uAPI defines "initial bytes" as part of its pre-copy data stream
27 themselves, VFIO migration uAPI defines an intermediate P2P quiescent state.
35 safe P2P-wise, since starting and stopping the devices is not done atomically
42 A detailed description of the UAPI for VFIO device migration can be found in
[all …]
/qemu/linux-headers/LICENSES/exceptions/
H A DLinux-syscall-note1 SPDX-Exception-Identifier: Linux-syscall-note
2 SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
3 SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1, LGPL-2.1+, GPL-2.0-only,…
4 Usage-Guide:
5 This exception is used together with one of the above SPDX-Licenses
6 to mark user space API (uapi) header files so they can be included
9 identifiers in the SPDX-Licenses tag:
10 SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
11 License-Text:
14 services by normal system calls - this is merely considered normal use
/qemu/linux-headers/asm-arm64/
H A Dsve_context.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2017-2018 ARM Limited */
5 * For use by other UAPI headers only.
6 * Do not make direct use of header or its definitions.
52 (__SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - __SVE_ZREGS_OFFSET)
59 (__SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - __SVE_PREGS_OFFSET(vq))
/qemu/scripts/
H A Duserfaultfd-wrlat.py3 # userfaultfd-wrlat Summarize userfaultfd write fault latencies.
10 # USAGE: userfaultfd-lat [interval [count]]
18 # later. See the COPYING file in the top-level directory.
32 #include <uapi/linux/ptrace.h>
58 u64 delta = ts - (*tsp);
86 count = -1
94 except: # also catches -h, --help
103 # header
104 print("Tracing UFFD-WP write fault latency... Hit Ctrl-C to end.")
H A Dupdate-linux-headers.sh1 #!/bin/sh -e
11 # See the COPYING file in the top-level directory.
15 # - linux-headers/ for files that are required for compiling for a
21 # - include/standard-headers/ for files that are used for guest
26 # sanitize the headers to remove any use of Linux-specifics such as
29 tmpdir=$(mktemp -d)
35 if [ -z "$linux" ] || ! [ -d "$linux" ]; then
37 usage: update-kernel-headers.sh LINUX_PATH [OUTPUT_PATH]
45 if [ -z "$output" ]; then
53 grep '#include' "$f" | grep -v -e 'linux/virtio' \
[all …]
/qemu/include/block/
H A Dufs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
508 * ("include/uapi/scsi/scsi_bsg_ufs.h") and modified to fit the qemu style.
527 * struct UtpUpiuCmd - Command UPIU structure
528 * @data_transfer_len: Data Transfer Length DW-3
529 * @cdb: Command Descriptor Block CDB DW-4 to DW-7
537 * struct UtpUpiuReq - general upiu request structure
538 * @header:UPIU header structure DW-0 to DW-2
539 * @sc: fields structure for scsi command DW-3 to DW-7
540 * @qr: fields structure for query request DW-3 to DW-7
544 UtpUpiuHeader header; member
[all …]
/qemu/linux-user/i386/
H A Dsignal.c21 #include "user-internals.h"
22 #include "signal-common.h"
23 #include "linux-user/trace.h"
24 #include "user/tswap-target.h"
26 /* from the Linux kernel - /arch/x86/include/uapi/asm/sigcontext.h */
135 /* see Linux/include/uapi/asm-generic/ucontext.h */
151 * for the variable-sized xsave data. The older unused fpstate has
156 abi_ulong extramask[TARGET_NSIG_WORDS-1];
173 * Verify that vdso-asmoffset.h constants match.
175 #include "i386/vdso-asmoffset.h"
[all …]
/qemu/linux-user/
H A Delfload.c1 /* This is the Linux kernel elf-loading code, ported into user space */
10 #include "user/tswap-target.h"
11 #include "user/page-protection.h"
12 #include "exec/page-protection.h"
13 #include "exec/mmap-lock.h"
14 #include "exec/translation-block.h"
16 #include "user/guest-base.h"
17 #include "user-internals.h"
18 #include "signal-common.h"
20 #include "user-mmap.h"
[all …]
H A Dsyscall_defs.h118 #define TARGET_IOC_NRMASK ((1 << TARGET_IOC_NRBITS)-1)
119 #define TARGET_IOC_TYPEMASK ((1 << TARGET_IOC_TYPEBITS)-1)
120 #define TARGET_IOC_SIZEMASK ((1 << TARGET_IOC_SIZEBITS)-1)
121 #define TARGET_IOC_DIRMASK ((1 << TARGET_IOC_DIRBITS)-1)
180 uint8_t __pad[sizeof(struct target_sockaddr) -
181 sizeof(abi_ushort) - sizeof(abi_short) -
283 abi_long constant; /* PLL (phase-locked loop) time constant */
313 abi_llong constant; /* PLL (phase-locked loop) time constant */
381 #define TARGET_CMSG_ALIGN(len) (((len) + sizeof (abi_long) - 1) \
382 & (size_t) ~(sizeof (abi_long) - 1))
[all …]
/qemu/linux-headers/linux/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
6 * Userspace interface for /dev/kvm - kernel based virtual machine
20 * Backwards-compatible definitions.
59 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47..
60 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23..
187 /* Encounter unexpected vm-exit due to delivery event. */
189 /* Encounter unexpected vm-exit reason */
316 * that is used for the KVM_INTERNAL_ERROR_EMULATION sub-type of
318 * sub-types, this struct is ABI! It also needs to be backwards
321 * and that each flag enumerates fields that are 64-bit aligned
[all …]
H A Dvfio.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
37 /* Two-stage IOMMU */
43 * The No-IOMMU IOMMU offers no translation or isolation for devices and
44 * supports no ioctls outside of VFIO_CHECK_EXTENSION. Use of VFIO's No-IOMMU
80 * INFO buffer, as is the next field within each capability header.
81 * The id within the header is a shared address space per INFO ioctl,
83 * contents following the header are specific to the capability id.
100 /* -------- IOCTLs for VFIO file descriptor (/dev/vfio/vfio) -------- */
103 * VFIO_GET_API_VERSION - _IO(VFIO_TYPE, VFIO_BASE + 0)
114 * VFIO_CHECK_EXTENSION - _IOW(VFIO_TYPE, VFIO_BASE + 1, __u32)
[all …]
/qemu/include/standard-headers/drm/
H A Ddrm_fourcc.h36 * fourcc codes defined in `include/uapi/drm/drm_fourcc.h`. In addition to the
38 * further describe the buffer's format - for example tiling or compression.
41 * ----------------
55 * vendor-namespaced, and as such the relationship between a fourcc code and a
57 * may preserve meaning - such as number of planes - from the fourcc code,
63 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel
75 * - Kernel and user-space drivers: for drivers it's important that modifiers
79 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users
89 * `include/uapi/drm/drm_fourcc.h`
92 * -----------------------
[all …]