Lines Matching +full:qemu +full:- +full:kvm

2  * QEMU KVM support
10 * See the COPYING file in the top-level directory.
14 /* header to be included in non-KVM-specific code */
20 #include "qemu/accel.h"
25 # include <linux/kvm.h>
51 * Returns: true if an in-kernel irqchip was created.
55 * target-independent code: use one of the following functions or
73 * Returns: true if we can deliver interrupts to KVM
92 * a KVM CPU (ie the kernel supports irqfds and we are running
95 * Always available if running with in-kernel irqchip.
103 * a KVM CPU (ie the kernel supports resamplefds and we are running
112 * to a KVM CPU via an irqfd. This requires that the kernel supports
135 * Returns: true if KVM readonly memory is enabled (ie the kernel
142 * Returns: true if KVM requires a device id to be provided while
177 #define TYPE_KVM_ACCEL ACCEL_CLASS_NAME("kvm")
203 * Not all KVM implementations support notifications for kernel generated
205 * KVM implementation does support them.
207 * Returns: true if KVM supports using kernel generated IRQs from user space
225 * kvm_update_guest_debug(): ensure KVM debug structures updated
227 * @reinject_trap: KVM trap injection control
229 * There are usually per-arch specifics which will be handled by
238 return -EINVAL; in kvm_update_guest_debug()
249 * kvm_device_ioctl - call an ioctl on a kvm device
250 * @fd: The KVM device file descriptor as returned from KVM_CREATE_DEVICE
251 * @type: The device-ctrl ioctl number
253 * Returns: -errno on error, nonnegative on success
258 * kvm_vm_check_attr - check for existence of a specific vm attribute
270 * kvm_device_check_attr - check for existence of a specific device attribute
282 * kvm_device_access - set or get value of a specific device attribute
299 * kvm_create_device - create a KVM device for the device control API
301 * @type: The KVM device type (see Documentation/virtual/kvm/devices in the
306 * Returns: -errno on error, nonnegative on success: @test ? 0 : device fd;
311 * kvm_device_supported - probe whether KVM supports specific device
321 * kvm_park_vcpu - Park QEMU KVM vCPU context
322 * @cpu: QOM CPUState object for which QEMU KVM vCPU context has to be parked.
329 * kvm_unpark_vcpu - unpark QEMU KVM vCPU context
330 * @s: KVM State
333 * @returns: KVM fd
338 * kvm_create_and_park_vcpu - Create and park a KVM vCPU
339 * @cpu: QOM CPUState object for which KVM vCPU has to be created and parked.
479 * kvm_irqchip_add_msi_route - Add MSI route for specific vector
501 if (c->changes) { in kvm_irqchip_commit_route_changes()
502 kvm_irqchip_commit_routes(c->s); in kvm_irqchip_commit_route_changes()
503 c->changes = 0; in kvm_irqchip_commit_route_changes()
532 * Allow architectures to create an in-kernel irq chip themselves.
541 * kvm_set_one_reg - set a register value in KVM via KVM_SET_ONE_REG ioctl
551 * kvm_get_one_reg - get a register value from KVM via KVM_GET_ONE_REG ioctl
570 * kvm_hwpoisoned_mem - indicate if there is any hwpoisoned page