"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é <[email protected]> Signed-off-by: Xiaoyao Li <[email protected]> --- target/i386/sev.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/i386/sev.c b/target/i386/sev.c index b44b5a1c2b94..f70f2ab4497f 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -160,10 +160,6 @@ struct SevCommonStateClass { * * The SevGuestState object is used for creating and managing a SEV * guest. - * - * # $QEMU \ - * -object sev-guest,id=sev0 \ - * -machine ...,memory-encryption=sev0 */ struct SevGuestState { SevCommonState parent_obj; -- 2.43.0
