x86.c (86931ff7207bc045fa5439ef97b31859613dc303) | x86.c (d495f942f40aa412f8d4d65951152648cfa09903) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Kernel-based Virtual Machine driver for Linux 4 * 5 * derived from drivers/kvm/kvm_main.c 6 * 7 * Copyright (C) 2006 Qumranet, Inc. 8 * Copyright (C) 2008 Qumranet, Inc. --- 10001 unchanged lines hidden (view full) --- 10010 vcpu_scan_ioapic(vcpu); 10011 if (kvm_check_request(KVM_REQ_LOAD_EOI_EXITMAP, vcpu)) 10012 vcpu_load_eoi_exitmap(vcpu); 10013 if (kvm_check_request(KVM_REQ_APIC_PAGE_RELOAD, vcpu)) 10014 kvm_vcpu_reload_apic_access_page(vcpu); 10015 if (kvm_check_request(KVM_REQ_HV_CRASH, vcpu)) { 10016 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; 10017 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_CRASH; | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Kernel-based Virtual Machine driver for Linux 4 * 5 * derived from drivers/kvm/kvm_main.c 6 * 7 * Copyright (C) 2006 Qumranet, Inc. 8 * Copyright (C) 2008 Qumranet, Inc. --- 10001 unchanged lines hidden (view full) --- 10010 vcpu_scan_ioapic(vcpu); 10011 if (kvm_check_request(KVM_REQ_LOAD_EOI_EXITMAP, vcpu)) 10012 vcpu_load_eoi_exitmap(vcpu); 10013 if (kvm_check_request(KVM_REQ_APIC_PAGE_RELOAD, vcpu)) 10014 kvm_vcpu_reload_apic_access_page(vcpu); 10015 if (kvm_check_request(KVM_REQ_HV_CRASH, vcpu)) { 10016 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; 10017 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_CRASH; |
10018 vcpu->run->system_event.ndata = 0; |
|
10018 r = 0; 10019 goto out; 10020 } 10021 if (kvm_check_request(KVM_REQ_HV_RESET, vcpu)) { 10022 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; 10023 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_RESET; | 10019 r = 0; 10020 goto out; 10021 } 10022 if (kvm_check_request(KVM_REQ_HV_RESET, vcpu)) { 10023 vcpu->run->exit_reason = KVM_EXIT_SYSTEM_EVENT; 10024 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_RESET; |
10025 vcpu->run->system_event.ndata = 0; |
|
10024 r = 0; 10025 goto out; 10026 } 10027 if (kvm_check_request(KVM_REQ_HV_EXIT, vcpu)) { 10028 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); 10029 10030 vcpu->run->exit_reason = KVM_EXIT_HYPERV; 10031 vcpu->run->hyperv = hv_vcpu->exit; --- 2976 unchanged lines hidden --- | 10026 r = 0; 10027 goto out; 10028 } 10029 if (kvm_check_request(KVM_REQ_HV_EXIT, vcpu)) { 10030 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); 10031 10032 vcpu->run->exit_reason = KVM_EXIT_HYPERV; 10033 vcpu->run->hyperv = hv_vcpu->exit; --- 2976 unchanged lines hidden --- |