diff options
author | Philippe Mathieu-Daudé | 2021-10-07 19:56:11 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-10-13 10:47:49 +0200 |
commit | 021658566b71e138db46434849f0556bab3fc30b (patch) | |
tree | 3c9c85e5ef8d24f3395971d21a5d692d4375a695 /include/hw | |
parent | hw/i386/sgx: Have sgx_epc_get_section() return a boolean (diff) | |
download | qemu-021658566b71e138db46434849f0556bab3fc30b.tar.gz qemu-021658566b71e138db46434849f0556bab3fc30b.tar.xz qemu-021658566b71e138db46434849f0556bab3fc30b.zip |
hw/i386/sgx: Move qmp_query_sgx_capabilities() to hw/i386/sgx.c
Move qmp_query_sgx_capabilities() from target/i386/monitor.c to
hw/i386/sgx.c, removing the sgx_get_capabilities() indirection.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007175612.496366-4-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/i386/sgx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/i386/sgx.h b/include/hw/i386/sgx.h index 16fc25725c..2bf90b3f4f 100644 --- a/include/hw/i386/sgx.h +++ b/include/hw/i386/sgx.h @@ -7,6 +7,5 @@ #include "qapi/qapi-types-misc-target.h" SGXInfo *sgx_get_info(Error **errp); -SGXInfo *sgx_get_capabilities(Error **errp); #endif |