]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: SVM: Report emulated SVM features to userspace
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Apr 2010 10:33:12 +0000 (12:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:16:13 +0000 (11:16 -0700)
commitb6519334facc360b34e4e08639c3befceecd6c17
tree880082fa92f022c74d78e6a60624ed3497cca56d
parenta349e8e6a85e80a059c3014485750e1341d224b6
KVM: SVM: Report emulated SVM features to userspace

This patch implements the reporting of the emulated SVM
features to userspace instead of the real hardware
capabilities. Every real hardware capability needs emulation
in nested svm so the old behavior was broken.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
(cherry picked from commit c2c63a493924e09a1984d1374a0e60dfd54fc0b0)
arch/x86/kvm/svm.c