From: Avi Kivity Date: Mon, 27 Aug 2012 20:46:17 +0000 (+0300) Subject: KVM: x86 emulator: access GPRs on demand X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~15^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd856efafe6097a5c9104725c2bca74430423db8;p=pandora-kernel.git KVM: x86 emulator: access GPRs on demand Instead of populating the entire register file, read in registers as they are accessed, and write back only the modified ones. This saves a VMREAD and VMWRITE on Intel (for rsp, since it is not usually used during emulation), and a two 128-byte copies for the registers. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed