KVM: SVM: Report emulated SVM features to userspace
commitc2c63a493924e09a1984d1374a0e60dfd54fc0b0
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Apr 2010 10:33:12 +0000 (22 12:33 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:24 +0000 (17 12:19 +0300)
tree2bf97279aee91da891a87da2ac0576bbf8b06b1b
parentd4330ef2fb2236a1e3a176f0f68360f4c0a8661b
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>
arch/x86/kvm/svm.c