summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-10-07 19:56:11 +0200
committerPaolo Bonzini2021-10-13 10:47:49 +0200
commit021658566b71e138db46434849f0556bab3fc30b (patch)
tree3c9c85e5ef8d24f3395971d21a5d692d4375a695 /include/hw
parenthw/i386/sgx: Have sgx_epc_get_section() return a boolean (diff)
downloadqemu-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.h1
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