]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Add VMLOAD and VMSAVE handlers
authorAlexander Graf <agraf@suse.de>
Tue, 25 Nov 2008 19:17:06 +0000 (20:17 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:47 +0000 (11:02 +0200)
commitf6c4e9ea69af127b2e3d6c12e6fc9343ef2f5b5a
treeca7b8a45f32701ebeafd1f982f39934efa178fdf
parentacac971be289714623b8b34819878299a948a8ab
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>
arch/x86/kvm/svm.c