]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
target/i386: SEV: fix mismatch in vcek-disabled property name
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Aug 2024 23:43:37 +0000 (01:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 2 Aug 2024 10:11:44 +0000 (12:11 +0200)
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>
target/i386/sev.c

index a1157c0ede606bca3fa08e9a59c34b13762fb688..a0d271f8986c1ea3e9a1325282b5a003449ffc9d 100644 (file)
@@ -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",