KVM: Fix guest kernel crash on MSR_K7_CLK_CTL
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 1 Sep 2010 09:42:04 +0000 (11:42 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:55 +0000 (10:51 +0200)
MSR_K7_CLK_CTL is a no longer documented MSR, which is only relevant
on said old AMD CPU models. This change returns the expected value,
which the Linux kernel is expecting to avoid writing back the MSR,
plus it ignores all writes to the MSR.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found