From: Marcelo Tosatti Date: Fri, 27 Jun 2008 17:58:02 +0000 (-0300) Subject: KVM: x86: accessors for guest registers X-Git-Tag: v2.6.28-rc1~269^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fdbf9765b7ba6a45100851154768de703d51e76;p=pandora-kernel.git KVM: x86: accessors for guest registers As suggested by Avi, introduce accessors to read/write guest registers. This simplifies the ->cache_regs/->decache_regs interface, and improves register caching which is important for VMX, where the cost of vmcs_read/vmcs_write is significant. [avi: fix warnings] Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed