kvm_vm_ioctl(s, KVM_IRQFD, &irqfd);
kvm_vm_ioctl(kvm_state, KVM_IOEVENTFD, &kick)
Ioctl Cmd |
Implement function |
Src file |
KVM_CREATE_VCPU |
kvm_vm_ioctl_create_vcpu |
Kvm_main.c |
KVM_SET_USER_MEMORY_REGION |
kvm_vm_ioctl_set_memory_region |
Kvm_main.c |
KVM_GET_DIRTY_LOG |
kvm_vm_ioctl_get_dirty_log |
Arch/x86/kvm/x86.c |
KVM_REGISTER_COALESCED_MMIO |
kvm_vm_ioctl_register_coalesced_mmio |
Mmio.c |
KVM_UNREGISTER_COALESCED_MMIO |
kvm_vm_ioctl_unregister_coalesced_mmio |
Mmio.c |
KVM_IRQFD |
kvm_irqfd |
Eventfd.c |
KVM_IOEVENTFD |
kvm_ioeventfd |
Eventfd.c |
KVM_SIGNAL_MSI |
kvm_send_userspace_msi |
Irqchip.c |
KVM_SET_GSI_ROUTING |
kvm_set_irq_routing |
Irqchip.c |
KVM_CREATE_DEVICE |
kvm_ioctl_create_device |
Kvm_main.c |
defautl |
kvm_arch_vm_ioctl kvm_vm_ioctl_assigned_device |
Arch/x86/kvm/x86.c Assigend-dev.c |
原文:https://www.cnblogs.com/dream397/p/14161550.html