]> git.baikalelectronics.ru Git - kernel.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)
commitc2ba5c55afd2a7eb5194e8a30c1845f9dcd91d6b
treeac41b20b2aaedd273872c5542290fd94ffcb8447
parentceb5481758577d54a7e183fcdeb0d39db2c48a48
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