]> 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)
commit48ddadc9c354902a6bf6d3df2ffcf6cc2deda8b3
treeac41b20b2aaedd273872c5542290fd94ffcb8447
parent24916a8fbdc0c27c75c02f9433bd27996ae7610c
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