]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Ignore DEBUGCTL MSRs with no effect
authorAlexander Graf <agraf@suse.de>
Tue, 22 Jul 2008 06:00:45 +0000 (08:00 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:15 +0000 (10:15 +0200)
commite097f73215dd4bbacd11679511ee213dff9fc024
tree6b622b0ed106e51cf8e7a64b6bcacb1c33a8c152
parente28e4fea395becaf7a14cfa93fee1c4d748616c2
KVM: Ignore DEBUGCTL MSRs with no effect

Netware writes to DEBUGCTL and reads from the DEBUGCTL and LAST*IP MSRs
without further checks and is really confused to receive a #GP during that.
To make it happy we should just make them stubs, which is exactly what SVM
already does.

Writes to DEBUGCTL that are vendor-specific are resembled to behave as if the
virtual CPU does not know them.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c