]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: emulate: Remove ctxt->intercept and ctxt->check_perm checks
authorBandan Das <bsd@redhat.com>
Wed, 16 Apr 2014 16:46:10 +0000 (12:46 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:14:00 +0000 (09:14 +0200)
commit685bbf4ac406364a84a1d4237b4970dc570fd4cb
treeac41b20b2aaedd273872c5542290fd94ffcb8447
parent1498507a47867596de158d4db8728e92385a4919
KVM: emulate: Remove ctxt->intercept and ctxt->check_perm checks

The same information can be gleaned from ctxt->d and avoids having
to zero/NULL initialize intercept and check_perm

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c