diff options
author | 2009-09-01 12:03:25 +0300 | |
---|---|---|
committer | 2009-09-10 18:11:10 +0300 | |
commit | 0a79b009525b160081d75cef5dbf45817956acf2 (patch) | |
tree | 86dc2671cbd3326e92c8845ce699bdb651d785b5 /virt/kvm | |
parent | KVM: fix misreporting of coalesced interrupts by kvm tracer (diff) | |
download | linux-0a79b009525b160081d75cef5dbf45817956acf2.tar.gz linux-0a79b009525b160081d75cef5dbf45817956acf2.tar.bz2 linux-0a79b009525b160081d75cef5dbf45817956acf2.zip |
KVM: VMX: Check cpl before emulating debug register access
Debug registers may only be accessed from cpl 0. Unfortunately, vmx will
code to emulate the instruction even though it was issued from guest
userspace, possibly leading to an unexpected trap later.
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions