Skip to content

Draft: KVM: SVM: Do not activate AVIC for SEV-enabled guest

John Allen requested to merge johnalle/centos-stream-9:2075868 into main

Bugzilla: https://bugzilla.redhat.com/2075868

Tested: Boot SEV-ES guest with AVIC enabled in kvm.

Conflicts: The kvm_apicv_inhibit enum and the kvm_set_apicv_inhibit function were introduced in later kernel versions. Add APICV_INHIBIT_REASON_SEV to the corresponding older kvm_x86_msr_filter and use the older style kvm_request_apicv_update.

commit c538dc792ff7e456d777f585fdf96aa4e781ed66 Author: Suravee Suthikulpanit suravee.suthikulpanit@amd.com Date: Fri Apr 8 08:37:10 2022 -0500

KVM: SVM: Do not activate AVIC for SEV-enabled guest

Since current AVIC implementation cannot support encrypted memory,
inhibit AVIC for SEV-enabled guest.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Message-Id: <20220408133710.54275-1-suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: John Allen johnalle@redhat.com

Edited by John Allen

Merge request reports