From: Andre Przywara Date: Thu, 25 Jun 2009 10:36:49 +0000 (+0200) Subject: KVM: introduce module parameter for ignoring unknown MSRs accesses X-Git-Tag: v2.6.32-rc1~693^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed85c0685321a139cefd6622b21467643f0159e1;p=pandora-kernel.git KVM: introduce module parameter for ignoring unknown MSRs accesses KVM will inject a #GP into the guest if that tries to access unhandled MSRs. This will crash many guests. Although it would be the correct way to actually handle these MSRs, we introduce a runtime switchable module param called "ignore_msrs" (defaults to 0). If this is Y, unknown MSR reads will return 0, while MSR writes are simply dropped. In both cases we print a message to dmesg to inform the user about that. You can change the behaviour at any time by saying: # echo 1 > /sys/modules/kvm/parameters/ignore_msrs Signed-off-by: Andre Przywara Signed-off-by: Avi Kivity --- Reading git-diff-tree failed