KVM: Drop unused kvm_vcpu.pre_pcpu field
Remove kvm_vcpu.pre_pcpu as it no longer has any users. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20211208015236.1616697-6-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Родитель
d76fb40637
Коммит
e6eec09b7b
|
@ -309,7 +309,6 @@ struct kvm_vcpu {
|
||||||
u64 requests;
|
u64 requests;
|
||||||
unsigned long guest_debug;
|
unsigned long guest_debug;
|
||||||
|
|
||||||
int pre_pcpu;
|
|
||||||
struct list_head blocked_vcpu_list;
|
struct list_head blocked_vcpu_list;
|
||||||
|
|
||||||
struct mutex mutex;
|
struct mutex mutex;
|
||||||
|
|
|
@ -427,7 +427,6 @@ static void kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id)
|
||||||
#endif
|
#endif
|
||||||
kvm_async_pf_vcpu_init(vcpu);
|
kvm_async_pf_vcpu_init(vcpu);
|
||||||
|
|
||||||
vcpu->pre_pcpu = -1;
|
|
||||||
INIT_LIST_HEAD(&vcpu->blocked_vcpu_list);
|
INIT_LIST_HEAD(&vcpu->blocked_vcpu_list);
|
||||||
|
|
||||||
kvm_vcpu_set_in_spin_loop(vcpu, false);
|
kvm_vcpu_set_in_spin_loop(vcpu, false);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче