diff options
author | Avi Kivity <avi@redhat.com> | 2010-05-10 05:34:53 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 03:47:05 -0400 |
commit | a8eeb04a44dd6dc4c8158953d9bae48849c9a188 (patch) | |
tree | 70274957d251afb17c8aaf660363795b44bf993f /arch/x86/kvm/vmx.c | |
parent | 36633f32ba4c238403d19584754b30fe469d6dcb (diff) |
KVM: Add mini-API for vcpu->requests
Makes it a little more readable and hackable.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 345a35470511..661c6e199b4a 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -899,7 +899,7 @@ static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu) | |||
899 | unsigned long sysenter_esp; | 899 | unsigned long sysenter_esp; |
900 | 900 | ||
901 | kvm_migrate_timers(vcpu); | 901 | kvm_migrate_timers(vcpu); |
902 | set_bit(KVM_REQ_TLB_FLUSH, &vcpu->requests); | 902 | kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu); |
903 | local_irq_disable(); | 903 | local_irq_disable(); |
904 | list_add(&vmx->local_vcpus_link, | 904 | list_add(&vmx->local_vcpus_link, |
905 | &per_cpu(vcpus_on_cpu, cpu)); | 905 | &per_cpu(vcpus_on_cpu, cpu)); |