diff options
| author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-06-27 21:58:02 +0400 |
|---|---|---|
| committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 12:13:57 +0400 |
| commit | 5fdbf9765b7ba6a45100851154768de703d51e76 (patch) | |
| tree | ec34ec9357575dc4190e5228a6eabfd5f81b66a5 /lib/debugobjects.c | |
| parent | ca60dfbb69afb549e33527cbf676e4daf8febfb5 (diff) | |
| download | linux-5fdbf9765b7ba6a45100851154768de703d51e76.tar.xz | |
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/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
