summaryrefslogtreecommitdiffstats
path: root/lib/kref.c
diff options
context:
space:
mode:
authorMarcelo Tosatti2008-06-27 19:58:02 +0200
committerAvi Kivity2008-10-15 10:13:57 +0200
commit5fdbf9765b7ba6a45100851154768de703d51e76 (patch)
treeec34ec9357575dc4190e5228a6eabfd5f81b66a5 /lib/kref.c
parentKVM: VMX: Rename misnamed msr bits (diff)
downloadkernel-qcow2-linux-5fdbf9765b7ba6a45100851154768de703d51e76.tar.gz
kernel-qcow2-linux-5fdbf9765b7ba6a45100851154768de703d51e76.tar.xz
kernel-qcow2-linux-5fdbf9765b7ba6a45100851154768de703d51e76.zip
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 <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions