From: Scott Wood Date: Wed, 9 Nov 2011 00:23:25 +0000 (-0600) Subject: KVM: PPC: booke: Check for MSR[WE] in prepare_to_enter X-Git-Tag: v3.4-rc1~59^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c59a6a3e4e5976a938e21faf3da65a2784187aa7;p=pandora-kernel.git KVM: PPC: booke: Check for MSR[WE] in prepare_to_enter This prevents us from inappropriately blocking in a KVM_SET_REGS ioctl -- the MSR[WE] will take effect when the guest is next entered. It also causes SRR1[WE] to be set when we enter the guest's interrupt handler, which is what e500 hardware is documented to do. Signed-off-by: Scott Wood Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed