Home
last modified time | relevance | path

Searched refs:kvm_vm_ioctl (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/qemu/hw/s390x/
H A Ds390-stattrib-kvm.c53 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 Ds390-pci-kvm.c47 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 Ds390-skeys-kvm.c40 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 Dxen_overlay.c81 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 Di8254.c100 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 Dioapic.c63 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 Di8259.c44 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 Dclock.c106 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 Dxen_evtchn.c469 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 Dkvm.c165 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 Dpv.c42 rc = kvm_vm_ioctl(kvm_state, KVM_S390_PV_COMMAND, &pv_cmd); in __s390_pv_cmd()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c746 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 Dtrace-events5 kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
/openbmc/qemu/hw/ppc/
H A Dpef.c84 rc = kvm_vm_ioctl(KVM_STATE(current_accel()), KVM_PPC_SVM_OFF); in kvmppc_svm_off()
/openbmc/qemu/include/sysemu/
H A Dkvm.h240 int kvm_vm_ioctl(KVMState *s, int type, ...);
451 kvm_vm_ioctl(s, KVM_ENABLE_CAP, &cap); \
/openbmc/qemu/target/ppc/
H A Dkvm.c271 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 Dopenpic_kvm.c224 ret = kvm_vm_ioctl(s, KVM_CREATE_DEVICE, &cd); in kvm_openpic_realize()
H A Darm_gicv3_its_kvm.c66 return kvm_vm_ioctl(kvm_state, KVM_SIGNAL_MSI, &msi); in kvm_its_send_msi()
H A Dxics_kvm.c342 rc = kvm_vm_ioctl(kvm_state, KVM_IRQ_LINE, &args); in ics_kvm_set_irq()
H A Driscv_imsic.c295 kvm_vm_ioctl(kvm_state, KVM_SIGNAL_MSI, &msi); in riscv_imsic_write()
H A Ds390_flic_kvm.c625 ret = kvm_vm_ioctl(kvm_state, KVM_CREATE_DEVICE, &cd); in DECLARE_CLASS_CHECKERS()
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c132 (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 Dsev.c256 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 Dhyperv.c695 return kvm_vm_ioctl(kvm_state, KVM_HYPERV_EVENTFD, &hvevfd); in hyperv_set_event_flag_handler()
/openbmc/qemu/hw/vfio/
H A Dcommon.c1429 if (kvm_vm_ioctl(kvm_state, KVM_CREATE_DEVICE, &cd)) { in vfio_kvm_device_add_fd()

12