diff options
author | Alexander Graf <agraf@suse.de> | 2008-11-25 20:17:06 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 11:02:47 +0200 |
commit | 5542675baa7e62ca4d18278c8758b6a4ec410639 (patch) | |
tree | ca7b8a45f32701ebeafd1f982f39934efa178fdf /arch/x86/kvm/kvm_svm.h | |
parent | b286d5d8b0836e76832dafcc5a18b0e8e5a3bc5e (diff) |
KVM: SVM: Add VMLOAD and VMSAVE handlers
This implements the VMLOAD and VMSAVE instructions, that usually surround
the VMRUN instructions. Both instructions load / restore the same elements,
so we only need to implement them once.
v2 fixes CPL checking and replaces memcpy by assignments
v3 makes use of the new permission checking
Acked-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/kvm_svm.h')
0 files changed, 0 insertions, 0 deletions