aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-01 12:03:25 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 15:52:24 -0700
commit0a32cd3d6adbe5cbfdfb411e1b1fccceec75e36a (patch)
treebde11ebee14af04c388cc6b3e06612e46eb504d3 /lib/debugobjects.c
parenta3edfd184017a67b30080c1e0d46b91d7306b3d9 (diff)
KVM: VMX: Check cpl before emulating debug register access
commit 0a79b009525b160081d75cef5dbf45817956acf2 upstream. 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. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions