[PATCH] x86: svm: Do not enable incomplete AVIC support

2 views
Skip to first unread message

Jan Kiszka

unread,
Sep 25, 2015, 2:10:05 PM9/25/15
to Jailhouse, Valentine Sinitsyn
This breaks on hardware with the AVIC feature present.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
hypervisor/arch/x86/svm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hypervisor/arch/x86/svm.c b/hypervisor/arch/x86/svm.c
index 8a3dd7c..1493b5e 100644
--- a/hypervisor/arch/x86/svm.c
+++ b/hypervisor/arch/x86/svm.c
@@ -116,8 +116,9 @@ static int svm_check_features(void)
has_assists = true;

/* AVIC support */
+ /* FIXME: Jailhouse support is incomplete so far
if (cpuid_edx(0x8000000A) & X86_FEATURE_AVIC)
- has_avic = true;
+ has_avic = true; */

/* TLB Flush by ASID support */
if (cpuid_edx(0x8000000A) & X86_FEATURE_FLUSH_BY_ASID)
--
2.1.4
Reply all
Reply to author
Forward
0 new messages