@samitouri / QOSamiQemu / commits / 07f567657b

i386/sev: Remove the example that references memory-encryption

"confidential-guest-support" is the recommended property to configure sev for the machine, and amd-memory-encryption.rst has already switched to use "confidential-guest-support" in the example. Instead of changing "memory-encryption" to "confidential-guest-support" in the comment of struct SevGuestState, just drop the example for simplicity. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Link: https://lore.kernel.org/r/20260512084458.622465-2-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Xiaoyao Li committed May 12, 2026 at 16:44 UTC 07f567657b52bf406d1d5435e80a364ee1890d56
1 file changed -4
target/i386/sev.c
-4
@@ -160,10 +160,6 @@ struct SevCommonStateClass {
160 *
161 * The SevGuestState object is used for creating and managing a SEV
162 * guest.
163 - *
164 - * # $QEMU \
165 - * -object sev-guest,id=sev0 \
166 - * -machine ...,memory-encryption=sev0
163 */
164 struct SevGuestState {
165 SevCommonState parent_obj;