mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
26 lines
1012 B
Diff
26 lines
1012 B
Diff
|
From 45bf2c699552d1e2891d322bea479d95f8c93d02 Mon Sep 17 00:00:00 2001
|
||
|
From: Alexander Boettcher <alexander.boettcher@genode-labs.com>
|
||
|
Date: Sat, 4 May 2019 19:20:41 +0200
|
||
|
Subject: [PATCH 17/17] svm: avoid forceful exit on task switch
|
||
|
|
||
|
---
|
||
|
kernel/fiasco/src/kern/ia32/vm_svm.cpp | 2 --
|
||
|
1 file changed, 2 deletions(-)
|
||
|
|
||
|
diff --git a/kernel/fiasco/src/kern/ia32/vm_svm.cpp b/kernel/fiasco/src/kern/ia32/vm_svm.cpp
|
||
|
index 1330e36a..9ac5b87b 100644
|
||
|
--- a/kernel/fiasco/src/kern/ia32/vm_svm.cpp
|
||
|
+++ b/kernel/fiasco/src/kern/ia32/vm_svm.cpp
|
||
|
@@ -486,8 +486,6 @@ Vm_svm::do_resume_vcpu(Context *ctxt, Vcpu_state *vcpu, Vmcb *vmcb_s)
|
||
|
kernel_vmcb_s->control_area.intercept_instruction0 |= (1 << 22);
|
||
|
// intercept HLT
|
||
|
kernel_vmcb_s->control_area.intercept_instruction0 |= (1 << 24);
|
||
|
- // intercept task switch
|
||
|
- kernel_vmcb_s->control_area.intercept_instruction0 |= (1 << 29);
|
||
|
// intercept shutdown
|
||
|
kernel_vmcb_s->control_area.intercept_instruction0 |= (1 << 31);
|
||
|
// intercept MONITOR/MWAIT
|
||
|
--
|
||
|
2.11.0
|
||
|
|