mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
vm: remove current_vcpu from vm structure
current_vcpu is not correct when there are multi vcpus in one VM, using it is in-correct, so remove it. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -186,9 +186,6 @@ int vmexit_handler(struct vcpu *vcpu)
|
||||
exec_vmread(VMX_EXIT_QUALIFICATION);
|
||||
}
|
||||
|
||||
/* Update current vcpu in VM that caused vm exit */
|
||||
vcpu->vm->current_vcpu = vcpu;
|
||||
|
||||
/* exit dispatch handling */
|
||||
if (basic_exit_reason == VMX_EXIT_REASON_EXTERNAL_INTERRUPT) {
|
||||
/* Handling external_interrupt
|
||||
|
Reference in New Issue
Block a user