commit | 1bd00a4257a86db654499137fd8e6db7d1e484dc | [log] [tgz] |
---|---|---|
author | Sean Christopherson <seanjc@google.com> | Tue Nov 09 21:50:59 2021 +0000 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 18 02:10:27 2021 -0500 |
tree | 689418e601a65b8ba0f1cf6dce1bc4e3904a205c | |
parent | a41fb26e61697382b2428ae63e039e97b0e6d164 [diff] |
KVM: SEV: WARN if SEV-ES is marked active but SEV is not WARN if the VM is tagged as SEV-ES but not SEV. KVM relies on SEV and SEV-ES being set atomically, and guards common flows with "is SEV", i.e. observing SEV-ES without SEV means KVM has a fatal bug. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20211109215101.2211373-5-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>