]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/x86/kvm/x86.c
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)
commitb5e2fec0ebc3fcaff954092bb69444a67a904c0a
tree6b622b0ed106e51cf8e7a64b6bcacb1c33a8c152
parent313dbd49dc239205b96da79fba09f7637cf84f3c
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