diff options
author | Michael Riepe <michael@mr511.de> | 2006-12-22 10:05:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-22 17:55:46 +0100 |
commit | bf591b24d07126143356058966d79423661f491f (patch) | |
tree | 1e075cd80f0bc6952d7b18411b05ee786900c3b9 /drivers/kvm/svm.c | |
parent | [PATCH] KVM: Use more traditional error handling in kvm_mmu_init() (diff) | |
download | linux-bf591b24d07126143356058966d79423661f491f.tar.xz linux-bf591b24d07126143356058966d79423661f491f.zip |
[PATCH] KVM: Do not export unsupported msrs to userspace
Some msrs, such as MSR_STAR, are not available on all processors. Exporting
them causes qemu to try to fetch them, which will fail.
So, check all msrs for validity at module load time.
Signed-off-by: Michael Riepe <michael@mr511.de>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions