From: Alexander Graf Date: Thu, 29 Jul 2010 12:48:04 +0000 (+0200) Subject: KVM: PPC: PV mtmsrd L=1 X-Git-Tag: v2.6.37-rc1~142^2~233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=819a63dc792b0888edd3eda306a9e1e049dcbb1c;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed