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