commit | c59a6a3e4e5976a938e21faf3da65a2784187aa7 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Tue Nov 08 18:23:25 2011 -0600 |
committer | Avi Kivity <avi@redhat.com> | Mon Mar 05 14:52:26 2012 +0200 |
tree | b15779d6ac698f588762a0c42f504e178f630875 | |
parent | 25051b5a5aff0bb71435421b4b80279b789fa0dc [diff] |
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 <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>