KVM: x86 emulator: check io permissions only once for string pio
authorGleb Natapov <gleb@redhat.com>
Mon, 2 Aug 2010 09:47:51 +0000 (12:47 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:29 +0000 (10:50 +0200)
commit4fc40f076f4fa289dd546990b597351c9cdad985
tree589e394aee1efb859a398438ced6326a5df3f97e
parent9928ff608b1b6ba10fafde85f57970a83a181331
KVM: x86 emulator: check io permissions only once for string pio

Do not recheck io permission on every iteration.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c