Lines Matching +full:uapi +full:- +full:header
1 /* 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
402 __u8 error; /* user -> kernel */
410 __u32 reason; /* kernel -> user */
411 __u32 index; /* kernel -> user */
412 __u64 data; /* kernel <-> user */
492 ((PAGE_SIZE - sizeof(struct kvm_coalesced_mmio_ring)) / \
598 #define KVM_IOEVENTFD_VALID_FLAG_MASK ((1 << kvm_ioeventfd_flag_nr_max) - 1)
641 * address size for the VM. Bits[7-0] are reserved for the guest
961 #define KVM_IRQ_ROUTING_XEN_EVTCHN_PRIO_2LEVEL ((__u32)(-1))
1115 __u32 group; /* device-defined */
1116 __u64 attr; /* group-defined */
1125 /* KVM_DEV_VFIO_GROUP aliases are for compile time uapi compatibility */
1291 #define KVM_S390_STORE_STATUS_NOADDR (-1ul)
1292 #define KVM_S390_STORE_STATUS_PREFIXED (-2ul)
1390 /* Per-VM Xen attributes */
1394 /* Per-vCPU Xen attributes */
1419 * |---------------+---------------+--------------|
1421 * |---------------+---------------+--------------|
1425 * |---------------+---------------+--------------|
1430 * 00 -----------> 01 -------------> 1X -------+
1433 * +------------------------------------------+
1435 * The userspace program is only responsible for the 01->1X state
1445 * per-vcpu mmaped regions as an array of struct kvm_dirty_gfn. The
1461 * struct kvm_stats_header - Header of per vm/vcpu binary statistics data.
1462 * @flags: Some extra information for header, always 0 for now.
1474 * This is the header userspace needs to read from stats fd before any other
1477 * Userspace reads this header from the start of the vm/vcpu's stats fd.
1513 * struct kvm_stats_desc - Descriptor of a KVM statistics.
1523 * &kvm_stats_header->name_size.