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

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

KVM: Move vmx_vcpu_reset() out of vmx_vcpu_setup()



Split guest reset code out of vmx_vcpu_setup().  Besides being cleaner, this
moves the realmode tss setup (which can sleep) outside vmx_vcpu_setup()
(which is executed with preemption enabled).

[izik: remove unused variable]

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 34c16eec
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