diff options
| author | Zhao Liu <zhao1.liu@intel.com> | 2025-05-16 17:11:30 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-20 08:04:18 +0200 |
| commit | 88aea26d1880f105b00c352485d3bf1f21d55012 (patch) | |
| tree | 1e0f514d52a9d90f313de4a9fab8d83d752166cb /hw/i386/sgx-stub.c | |
| parent | a1b3e82773c4b9f438c2d77f9101fca760b347e6 (diff) | |
| download | focaccia-qemu-88aea26d1880f105b00c352485d3bf1f21d55012.tar.gz focaccia-qemu-88aea26d1880f105b00c352485d3bf1f21d55012.zip | |
qapi/misc-target: Rename SGXInfo to SgxInfo
QAPI requires strict PascalCase naming style, i.e., only the first letter of a single word is allowed to be uppercase, which could help with readability. Rename SGXInfo to SgxInfo. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250516091130.2374221-3-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/sgx-stub.c')
| -rw-r--r-- | hw/i386/sgx-stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/i386/sgx-stub.c b/hw/i386/sgx-stub.c index 38ff75e9f3..ccb21a975d 100644 --- a/hw/i386/sgx-stub.c +++ b/hw/i386/sgx-stub.c @@ -10,13 +10,13 @@ void sgx_epc_build_srat(GArray *table_data) { } -SGXInfo *qmp_query_sgx(Error **errp) +SgxInfo *qmp_query_sgx(Error **errp) { error_setg(errp, "SGX support is not compiled in"); return NULL; } -SGXInfo *qmp_query_sgx_capabilities(Error **errp) +SgxInfo *qmp_query_sgx_capabilities(Error **errp) { error_setg(errp, "SGX support is not compiled in"); return NULL; |