From: Avi Kivity Date: Tue, 1 Sep 2009 09:03:25 +0000 (+0300) Subject: KVM: VMX: Check cpl before emulating debug register access X-Git-Tag: v2.6.32-rc1~693^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a79b009525b160081d75cef5dbf45817956acf2;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed