diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-08-02 01:43:37 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-08-02 12:11:44 +0200 |
commit | d4392415c328f83b2e30517a3561be523874f441 (patch) | |
tree | 2ee5a6c5775b07f720b98ed5dd583df34a50daec /target | |
parent | c4d242501a61093a8b80ee8f6dd071c5110a100c (diff) |
target/i386: SEV: fix mismatch in vcek-disabled property name
The vcek-disabled property of the sev-snp-guest object is misspelled
vcek-required (which I suppose would use the opposite polarity) in
the call to object_class_property_add_bool(). Fix it.
Reported-by: Zixi Chen <zixchen@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/i386/sev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/sev.c b/target/i386/sev.c index a1157c0ede..a0d271f898 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -2422,7 +2422,7 @@ sev_snp_guest_class_init(ObjectClass *oc, void *data) object_class_property_add_bool(oc, "author-key-enabled", sev_snp_guest_get_author_key_enabled, sev_snp_guest_set_author_key_enabled); - object_class_property_add_bool(oc, "vcek-required", + object_class_property_add_bool(oc, "vcek-disabled", sev_snp_guest_get_vcek_disabled, sev_snp_guest_set_vcek_disabled); object_class_property_add_str(oc, "host-data", |