]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: SVM: Add helper functions for nested SVM
authorAlexander Graf <agraf@suse.de>
Tue, 25 Nov 2008 19:17:03 +0000 (20:17 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:46 +0000 (11:02 +0200)
commitc0725420cfdcf6dd9705b164a8c6cba86684080d
tree9ecc99526376bded58702048262e419159309fb1
parent9962d032bbff0268f22068787831405f8468c8b4
KVM: SVM: Add helper functions for nested SVM

These are helpers for the nested SVM implementation.

- nsvm_printk implements a debug printk variant
- nested_svm_do calls a handler that can accesses gpa-based memory

v3 makes use of the new permission checker
v6 changes:
- streamline nsvm_debug()
- remove printk(KERN_ERR)
- SVME check before CPL check
- give GP error code
- use new EFER constant

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