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

KVM: Split vcpu creation to avoid vcpu_load() before preemption setup



Split kvm_arch_vcpu_create() into kvm_arch_vcpu_create() and
kvm_arch_vcpu_setup(), enabling preemption notification between the two.
This mean that we can now do vcpu_load() within kvm_arch_vcpu_setup().

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