commit | 5542675baa7e62ca4d18278c8758b6a4ec410639 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Tue Nov 25 20:17:06 2008 +0100 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:02:47 2009 +0200 |
tree | ca7b8a45f32701ebeafd1f982f39934efa178fdf | |
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>