commit | 4c62a2dc92518c5adf434df8e5c2283c6762672a | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 10 17:31:06 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:48 2010 +0200 |
tree | 610ba76b930c0d126a72871ba15b35c89b06fbc3 | |
parent | 3d4aeaad8bb8f8084a414819934b73ab49c26c92 [diff] |
KVM: X86: Report SVM bit to userspace only when supported This patch fixes a bug in KVM where it _always_ reports the support of the SVM feature to userspace. But KVM only supports SVM on AMD hardware and only when it is enabled in the kernel module. This patch fixes the wrong reporting. Cc: stable@kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>