diff options
author | Zhihui Zhang <zzhsuny@gmail.com> | 2013-12-30 21:56:29 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2014-01-08 22:01:40 +0100 |
commit | 2f0a6397dd3cac2fb05b46cad08c1d532c04d6b8 (patch) | |
tree | 2a68f99698169b20ed597e36bddfa9725275b712 /kernel/cpu_pm.c | |
parent | KVM: doc: Fix typo in doc/virtual/kvm (diff) | |
download | linux-2f0a6397dd3cac2fb05b46cad08c1d532c04d6b8.tar.xz linux-2f0a6397dd3cac2fb05b46cad08c1d532c04d6b8.zip |
KVM: VMX: check use I/O bitmap first before unconditional I/O exit
According to Table C-1 of Intel SDM 3C, a VM exit happens on an I/O instruction when
"use I/O bitmaps" VM-execution control was 0 _and_ the "unconditional I/O exiting"
VM-execution control was 1. So we can't just check "unconditional I/O exiting" alone.
This patch was improved by suggestion from Jan Kiszka.
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions