/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 39 extern int __kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu); 44 extern int kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu, 47 extern int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu, 50 extern int kvmppc_emulate_instruction(struct kvm_run *run, 52 extern int kvmppc_emulate_mmio(struct kvm_run *run, struct kvm_vcpu *vcpu); 84 extern int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
|
D | kvm_host.h | 40 struct kvm_run;
|
/arch/x86/kvm/ |
D | svm.c | 996 static int pf_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) in pf_interception() argument 1034 static int ud_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) in ud_interception() argument 1038 er = emulate_instruction(&svm->vcpu, kvm_run, 0, 0, EMULTYPE_TRAP_UD); in ud_interception() 1044 static int nm_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) in nm_interception() argument 1054 static int mc_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) in mc_interception() argument 1067 static int shutdown_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) in shutdown_interception() argument 1076 kvm_run->exit_reason = KVM_EXIT_SHUTDOWN; in shutdown_interception() 1080 static int io_interception(struct vcpu_svm *svm, struct kvm_run *kvm_run) in io_interception() argument 1094 kvm_run, 0, 0, 0) == EMULATE_DO_MMIO) in io_interception() 1106 return kvm_emulate_pio(&svm->vcpu, kvm_run, in, size, port); in io_interception() [all …]
|
D | vmx.c | 2485 struct kvm_run *kvm_run) in do_interrupt_requests() argument 2505 || kvm_run->request_interrupt_window) in do_interrupt_requests() 2518 (vcpu->arch.irq_summary || kvm_run->request_interrupt_window)) in do_interrupt_requests() 2589 static int handle_exception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_exception() argument 2620 er = emulate_instruction(vcpu, kvm_run, 0, 0, EMULTYPE_TRAP_UD); in handle_exception() 2654 kvm_run->exit_reason = KVM_EXIT_DEBUG; in handle_exception() 2657 kvm_run->exit_reason = KVM_EXIT_EXCEPTION; in handle_exception() 2658 kvm_run->ex.exception = intr_info & INTR_INFO_VECTOR_MASK; in handle_exception() 2659 kvm_run->ex.error_code = error_code; in handle_exception() 2664 struct kvm_run *kvm_run) in handle_external_interrupt() argument [all …]
|
D | x86.c | 2243 struct kvm_run *run, in emulate_instruction() 2459 int kvm_emulate_pio(struct kvm_vcpu *vcpu, struct kvm_run *run, int in, in kvm_emulate_pio() 2497 int kvm_emulate_pio_string(struct kvm_vcpu *vcpu, struct kvm_run *run, int in, in kvm_emulate_pio_string() 2885 struct kvm_run *kvm_run) in dm_request_for_irq_injection() argument 2888 kvm_run->request_interrupt_window && in dm_request_for_irq_injection() 2894 struct kvm_run *kvm_run) in post_kvm_run_save() argument 2896 kvm_run->if_flag = (kvm_x86_ops->get_rflags(vcpu) & X86_EFLAGS_IF) != 0; in post_kvm_run_save() 2897 kvm_run->cr8 = kvm_get_cr8(vcpu); in post_kvm_run_save() 2898 kvm_run->apic_base = kvm_get_apic_base(vcpu); in post_kvm_run_save() 2900 kvm_run->ready_for_interrupt_injection = 1; in post_kvm_run_save() [all …]
|
D | lapic.c | 543 struct kvm_run *run = vcpu->run; in __report_tpr_access()
|
/arch/ia64/kvm/ |
D | kvm-ia64.c | 211 static int handle_vm_error(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_vm_error() argument 213 kvm_run->exit_reason = KVM_EXIT_UNKNOWN; in handle_vm_error() 214 kvm_run->hw.hardware_exit_reason = 1; in handle_vm_error() 218 static int handle_mmio(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_mmio() argument 228 vcpu->mmio_phys_addr = kvm_run->mmio.phys_addr = p->addr; in handle_mmio() 229 vcpu->mmio_size = kvm_run->mmio.len = p->size; in handle_mmio() 230 vcpu->mmio_is_write = kvm_run->mmio.is_write = !p->dir; in handle_mmio() 234 memcpy(kvm_run->mmio.data, &p->data, p->size); in handle_mmio() 235 kvm_run->exit_reason = KVM_EXIT_MMIO; in handle_mmio() 254 static int handle_pal_call(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in handle_pal_call() argument [all …]
|
D | kvm_fw.c | 295 int kvm_pal_emul(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_pal_emul()
|
/arch/powerpc/kvm/ |
D | powerpc.c | 50 int kvmppc_emulate_mmio(struct kvm_run *run, struct kvm_vcpu *vcpu) in kvmppc_emulate_mmio() 262 struct kvm_run *run) in kvmppc_complete_dcr_load() 269 struct kvm_run *run) in kvmppc_complete_mmio_load() 294 int kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_load() 314 int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_store() 349 int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_arch_vcpu_ioctl_run()
|
D | emulate.c | 65 int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu) in kvmppc_emulate_instruction()
|
D | 44x_emulate.c | 49 int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_core_emulate_op()
|
D | booke.c | 183 int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_exit()
|
/arch/s390/kvm/ |
D | kvm-s390.c | 476 int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in kvm_arch_vcpu_ioctl_run() argument 490 switch (kvm_run->exit_reason) { in kvm_arch_vcpu_ioctl_run() 492 vcpu->arch.sie_block->gpsw.mask = kvm_run->s390_sieic.mask; in kvm_arch_vcpu_ioctl_run() 493 vcpu->arch.sie_block->gpsw.addr = kvm_run->s390_sieic.addr; in kvm_arch_vcpu_ioctl_run() 514 kvm_run->exit_reason = KVM_EXIT_S390_SIEIC; in kvm_arch_vcpu_ioctl_run() 515 kvm_run->s390_sieic.icptcode = vcpu->arch.sie_block->icptcode; in kvm_arch_vcpu_ioctl_run() 516 kvm_run->s390_sieic.mask = vcpu->arch.sie_block->gpsw.mask; in kvm_arch_vcpu_ioctl_run() 517 kvm_run->s390_sieic.addr = vcpu->arch.sie_block->gpsw.addr; in kvm_arch_vcpu_ioctl_run() 518 kvm_run->s390_sieic.ipa = vcpu->arch.sie_block->ipa; in kvm_arch_vcpu_ioctl_run() 519 kvm_run->s390_sieic.ipb = vcpu->arch.sie_block->ipb; in kvm_arch_vcpu_ioctl_run()
|
/arch/x86/include/asm/ |
D | kvm_host.h | 478 void (*run)(struct kvm_vcpu *vcpu, struct kvm_run *run); 479 int (*handle_exit)(struct kvm_run *run, struct kvm_vcpu *vcpu); 490 struct kvm_run *run); 533 int emulate_instruction(struct kvm_vcpu *vcpu, struct kvm_run *run, 550 int kvm_emulate_pio(struct kvm_vcpu *vcpu, struct kvm_run *run, int in, 552 int kvm_emulate_pio_string(struct kvm_vcpu *vcpu, struct kvm_run *run, int in,
|
/arch/ia64/include/asm/ |
D | kvm_host.h | 581 int kvm_pal_emul(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run);
|