Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 10f32d84 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Prevent exit handler from running if emulating due to invalid state



If we've just emulated an instruction, we won't have any valid exit
reason and associated information.

Fix by moving the clearing of the emulation_required flag to the exit handler.
This way the exit handler can notice that we've been emulating and abort
early.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 9fd4a3b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment