diff options
author | Avi Kivity <avi@redhat.com> | 2011-04-20 13:37:53 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-22 08:39:05 -0400 |
commit | 2953538ebbd95b145bd3629126fe5af61b88be11 (patch) | |
tree | 2f9e85f7c628c6aecbb88134a725c599de820dba /arch/x86/kvm/emulate.c | |
parent | 717746e382e58f075642403eaac26bce0640b2c5 (diff) | |
download | kernel_samsung_smdk4412-2953538ebbd95b145bd3629126fe5af61b88be11.zip kernel_samsung_smdk4412-2953538ebbd95b145bd3629126fe5af61b88be11.tar.gz kernel_samsung_smdk4412-2953538ebbd95b145bd3629126fe5af61b88be11.tar.bz2 |
KVM: x86 emulator: drop vcpu argument from intercept callback
Making the emulator caller agnostic.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 33ad16b..acb9fcc 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -438,7 +438,7 @@ static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, .next_rip = ctxt->eip, }; - return ctxt->ops->intercept(ctxt->vcpu, &info, stage); + return ctxt->ops->intercept(ctxt, &info, stage); } static inline unsigned long ad_mask(struct decode_cache *c) |