From: Alexander Graf Date: Fri, 19 Feb 2010 10:00:37 +0000 (+0100) Subject: KVM: PPC: Implement mtsr instruction emulation X-Git-Tag: v2.6.35-rc1~436^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71db4089361b9424314c41fcf92f63ce26263fcc;p=pandora-kernel.git KVM: PPC: Implement mtsr instruction emulation The Book3S_32 specifications allows for two instructions to modify segment registers: mtsrin and mtsr. Most normal operating systems use mtsrin, because it allows to define which segment it wants to change using a register. But since I was trying to run an embedded guest, it turned out to be using mtsr with hardcoded values. So let's also emulate mtsr. It's a valid instruction after all. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed