We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ab816 commit 6ae44e0Copy full SHA for 6ae44e0
arch/x86/kvm/svm/svm.c
@@ -605,6 +605,8 @@ static inline void kvm_cpu_svm_disable(void)
605
606
static void svm_emergency_disable(void)
607
{
608
+ kvm_rebooting = true;
609
+
610
kvm_cpu_svm_disable();
611
}
612
arch/x86/kvm/vmx/vmx.c
@@ -752,6 +752,8 @@ static void vmx_emergency_disable(void)
752
int cpu = raw_smp_processor_id();
753
struct loaded_vmcs *v;
754
755
756
757
list_for_each_entry(v, &per_cpu(loaded_vmcss_on_cpu, cpu),
758
loaded_vmcss_on_cpu_link)
759
vmcs_clear(v->vmcs);
0 commit comments