commit | 819a63dc792b0888edd3eda306a9e1e049dcbb1c | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Jul 29 14:48:04 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:50:56 2010 +0200 |
tree | 70599dcd83eb9892785cd9e7ca5d92534bedcdd7 | |
parent | 92234722ed631f472f1c4d79d35d8e5cf6910002 [diff] |
KVM: PPC: PV mtmsrd L=1 The PowerPC ISA has a special instruction for mtmsr that only changes the EE and RI bits, namely the L=1 form. Since that one is reasonably often occuring and simple to implement, let's go with this first. Writing EE=0 is always just a store. Doing EE=1 also requires us to check for pending interrupts and if necessary exit back to the hypervisor. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>