/openbmc/qemu/hw/s390x/ |
H A D | s390-stattrib-kvm.c | 53 r = kvm_vm_ioctl(kvm_state, KVM_S390_GET_CMMA_BITS, &clog); in kvm_s390_stattrib_read_helper() 121 r = kvm_vm_ioctl(kvm_state, KVM_S390_SET_CMMA_BITS, &clog); in kvm_s390_stattrib_synchronize() 131 r = kvm_vm_ioctl(kvm_state, KVM_S390_SET_CMMA_BITS, &clog); in kvm_s390_stattrib_synchronize() 151 r = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_stattrib_set_migrationmode()
|
H A D | s390-pci-kvm.c | 47 rc = kvm_vm_ioctl(kvm_state, KVM_S390_ZPCI_OP, &args); in s390_pci_kvm_aif_enable() 76 rc = kvm_vm_ioctl(kvm_state, KVM_S390_ZPCI_OP, &args); in s390_pci_kvm_aif_disable()
|
H A D | s390-skeys-kvm.c | 40 return kvm_vm_ioctl(kvm_state, KVM_S390_GET_SKEYS, &args); in kvm_s390_skeys_get() 52 return kvm_vm_ioctl(kvm_state, KVM_S390_SET_SKEYS, &args); in kvm_s390_skeys_set()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_overlay.c | 81 return kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &xa); in xen_overlay_set_be_shinfo() 241 ret = kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_GET_ATTR, &xa); in xen_sync_long_mode() 261 ret = kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &xa); in xen_set_long_mode()
|
H A D | i8254.c | 100 ret = kvm_vm_ioctl(kvm_state, KVM_GET_PIT2, &kpit); in kvm_pit_get() 161 ret = kvm_vm_ioctl(kvm_state, KVM_SET_PIT2, &kpit); in kvm_pit_put() 254 ret = kvm_vm_ioctl(kvm_state, KVM_CREATE_PIT2, &config); in kvm_pit_realizefn() 267 ret = kvm_vm_ioctl(kvm_state, KVM_REINJECT_CONTROL, &control); in kvm_pit_realizefn()
|
H A D | ioapic.c | 63 ret = kvm_vm_ioctl(kvm_state, KVM_GET_IRQCHIP, &chip); in kvm_ioapic_get() 96 ret = kvm_vm_ioctl(kvm_state, KVM_SET_IRQCHIP, &chip); in kvm_ioapic_put()
|
H A D | i8259.c | 44 ret = kvm_vm_ioctl(kvm_state, KVM_GET_IRQCHIP, &chip); in kvm_pic_get() 97 ret = kvm_vm_ioctl(kvm_state, KVM_SET_IRQCHIP, &chip); in kvm_pic_put()
|
H A D | clock.c | 106 ret = kvm_vm_ioctl(kvm_state, KVM_GET_CLOCK, &data); in kvm_update_clock() 190 ret = kvm_vm_ioctl(kvm_state, KVM_SET_CLOCK, &data); in kvmclock_vm_state_change()
|
H A D | xen_evtchn.c | 469 ret = kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &xa); in xen_evtchn_set_callback_param() 503 kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &xa); in xen_evtchn_set_callback_param() 541 ret = kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &ha); in deassign_kernel_port() 566 return kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &ha); in assign_kernel_port() 580 return kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &ha); in assign_kernel_eventfd() 928 return kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_EVTCHN_SEND, &evt); in set_port_pending()
|
/openbmc/qemu/target/s390x/kvm/ |
H A D | kvm.c | 165 return kvm_vm_ioctl(kvm_state, KVM_GET_DEVICE_ATTR, &attr); in kvm_s390_query_mem_limit() 189 return kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_set_mem_limit() 221 rc = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_cmma_reset() 238 rc = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_enable_cmma() 715 r = kvm_vm_ioctl(kvm_state, KVM_GET_DEVICE_ATTR, &attr); in kvm_s390_get_clock() 735 r = kvm_vm_ioctl(kvm_state, KVM_GET_DEVICE_ATTR, &attr); in kvm_s390_get_clock_ext() 751 r = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_set_clock() 1125 r = kvm_vm_ioctl(kvm_state, KVM_S390_INTERRUPT, &kvmint); in kvm_s390_floating_interrupt_legacy() 2002 return kvm_vm_ioctl(kvm_state, KVM_IOEVENTFD, &kick); in kvm_s390_assign_subch_ioeventfd() 2154 rc = kvm_vm_ioctl(kvm_state, KVM_GET_DEVICE_ATTR, &attr); in query_cpu_subfunc() [all …]
|
H A D | pv.c | 42 rc = kvm_vm_ioctl(kvm_state, KVM_S390_PV_COMMAND, &pv_cmd); in __s390_pv_cmd()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 746 ret = kvm_vm_ioctl(s, KVM_GET_DIRTY_LOG, &d); in kvm_slot_get_dirty_log() 869 ret = kvm_vm_ioctl(s, KVM_RESET_DIRTY_RINGS); in kvm_dirty_ring_reap_locked() 1080 ret = kvm_vm_ioctl(s, KVM_CLEAR_DIRTY_LOG, &d); in kvm_log_clear_one_slot() 1348 ret = kvm_vm_ioctl(kvm_state, KVM_IOEVENTFD, &iofd); in kvm_set_ioeventfd_mmio() 1378 r = kvm_vm_ioctl(kvm_state, KVM_IOEVENTFD, &kick); in kvm_set_ioeventfd_pio() 1953 ret = kvm_vm_ioctl(s, s->irq_set_ioctl, &event); in kvm_set_irq() 2134 return kvm_vm_ioctl(s, KVM_SIGNAL_MSI, &msi); in kvm_irqchip_send_msi() 2266 return kvm_vm_ioctl(s, KVM_IRQFD, &irqfd); in kvm_irqchip_assign_irqfd() 2383 ret = kvm_vm_ioctl(s, KVM_CREATE_IRQCHIP); in kvm_irqchip_create() 3248 int kvm_vm_ioctl(KVMState *s, int type, ...) in kvm_vm_ioctl() function [all …]
|
H A D | trace-events | 5 kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
|
/openbmc/qemu/hw/ppc/ |
H A D | pef.c | 84 rc = kvm_vm_ioctl(KVM_STATE(current_accel()), KVM_PPC_SVM_OFF); in kvmppc_svm_off()
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm.h | 240 int kvm_vm_ioctl(KVMState *s, int type, ...); 451 kvm_vm_ioctl(s, KVM_ENABLE_CAP, &cap); \
|
/openbmc/qemu/target/ppc/ |
H A D | kvm.c | 271 ret = kvm_vm_ioctl(kvm_state, KVM_PPC_GET_SMMU_INFO, info); in kvm_get_smmu_info() 290 if (kvm_vm_ioctl(s, KVM_PPC_GET_RMMU_INFO, &rmmu_info)) { in kvmppc_get_radix_page_info() 322 ret = kvm_vm_ioctl(cs->kvm_state, KVM_PPC_CONFIGURE_V3_MMU, &cfg); in kvmppc_configure_v3_mmu() 1980 !kvm_vm_ioctl(cs->kvm_state, KVM_PPC_GET_PVINFO, pvinfo)) { in kvmppc_get_pvinfo() 2233 fd = kvm_vm_ioctl(kvm_state, KVM_CREATE_SPAPR_TCE_64, &args); in kvmppc_create_spapr_tce() 2249 fd = kvm_vm_ioctl(kvm_state, KVM_CREATE_SPAPR_TCE, &args); in kvmppc_create_spapr_tce() 2303 ret = kvm_vm_ioctl(kvm_state, KVM_PPC_ALLOCATE_HTAB, &shift); in kvmppc_reset_htab() 2514 ret = kvm_vm_ioctl(s, KVM_PPC_GET_CPU_CHAR, &c); in kvmppc_get_cpu_characteristics() 2678 return kvm_vm_ioctl(kvm_state, KVM_PPC_RTAS_DEFINE_TOKEN, &args); in kvmppc_define_rtas_kernel_token() 2695 ret = kvm_vm_ioctl(kvm_state, KVM_PPC_GET_HTAB_FD, &s); in kvmppc_get_htab_fd() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | openpic_kvm.c | 224 ret = kvm_vm_ioctl(s, KVM_CREATE_DEVICE, &cd); in kvm_openpic_realize()
|
H A D | arm_gicv3_its_kvm.c | 66 return kvm_vm_ioctl(kvm_state, KVM_SIGNAL_MSI, &msi); in kvm_its_send_msi()
|
H A D | xics_kvm.c | 342 rc = kvm_vm_ioctl(kvm_state, KVM_IRQ_LINE, &args); in ics_kvm_set_irq()
|
H A D | riscv_imsic.c | 295 kvm_vm_ioctl(kvm_state, KVM_SIGNAL_MSI, &msi); in riscv_imsic_write()
|
H A D | s390_flic_kvm.c | 625 ret = kvm_vm_ioctl(kvm_state, KVM_CREATE_DEVICE, &cd); in DECLARE_CLASS_CHECKERS()
|
/openbmc/qemu/target/i386/kvm/ |
H A D | xen-emu.c | 132 (void)kvm_vm_ioctl(s, KVM_XEN_HVM_SET_ATTR, &ha); in kvm_xen_init() 137 ret = kvm_vm_ioctl(s, KVM_XEN_HVM_CONFIG, &cfg); in kvm_xen_init() 987 ret = kvm_vm_ioctl(kvm_state, KVM_GET_CLOCK, &data); in kvm_get_current_ns()
|
/openbmc/qemu/target/i386/ |
H A D | sev.c | 256 r = kvm_vm_ioctl(kvm_state, KVM_MEMORY_ENCRYPT_OP, &input); in sev_ioctl() 331 r = kvm_vm_ioctl(kvm_state, KVM_MEMORY_ENCRYPT_REG_REGION, &range); in sev_ram_block_added() 361 r = kvm_vm_ioctl(kvm_state, KVM_MEMORY_ENCRYPT_UNREG_REGION, &range); in sev_ram_block_removed() 584 if (kvm_vm_ioctl(kvm_state, KVM_MEMORY_ENCRYPT_OP, NULL) < 0) { in sev_get_capabilities()
|
/openbmc/qemu/hw/hyperv/ |
H A D | hyperv.c | 695 return kvm_vm_ioctl(kvm_state, KVM_HYPERV_EVENTFD, &hvevfd); in hyperv_set_event_flag_handler()
|
/openbmc/qemu/hw/vfio/ |
H A D | common.c | 1429 if (kvm_vm_ioctl(kvm_state, KVM_CREATE_DEVICE, &cd)) { in vfio_kvm_device_add_fd()
|