From: Avi Kivity Date: Sun, 6 May 2007 13:10:01 +0000 (+0300) Subject: KVM: VMX: Only reload guest msrs if they are already loaded X-Git-Tag: v2.6.23-rc1~520^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff708bc2bacd4f22cf844871341bef341bd096a;p=pandora-kernel.git KVM: VMX: Only reload guest msrs if they are already loaded If we set an msr via an ioctl() instead of by handling a guest exit, we have the host state loaded, so reloading the msrs would clobber host state instead of guest state. This fixes a host oops (and loss of a cpu) on a guest reboot. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed