summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-10-07 19:56:12 +0200
committerPaolo Bonzini2021-10-13 10:47:50 +0200
commit6e81733e27a250af7507c3dd5ae945c473ab0d6b (patch)
tree905b06bd8e4b3f4c17556644a4de902ea537b7bc /include/hw
parenthw/i386/sgx: Move qmp_query_sgx_capabilities() to hw/i386/sgx.c (diff)
downloadqemu-6e81733e27a250af7507c3dd5ae945c473ab0d6b.tar.gz
qemu-6e81733e27a250af7507c3dd5ae945c473ab0d6b.tar.xz
qemu-6e81733e27a250af7507c3dd5ae945c473ab0d6b.zip
hw/i386/sgx: Move qmp_query_sgx() and hmp_info_sgx() to hw/i386/sgx.c
Move qmp_query_sgx() and hmp_info_sgx() from target/i386/monitor.c to hw/i386/sgx.c, removing the sgx_get_info() indirection and the "hw/i386/sgx.h" header. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211007175612.496366-5-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/i386/sgx.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/hw/i386/sgx.h b/include/hw/i386/sgx.h
deleted file mode 100644
index 2bf90b3f4f..0000000000
--- a/include/hw/i386/sgx.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef QEMU_SGX_H
-#define QEMU_SGX_H
-
-#include "qom/object.h"
-#include "qapi/error.h"
-#include "qemu/error-report.h"
-#include "qapi/qapi-types-misc-target.h"
-
-SGXInfo *sgx_get_info(Error **errp);
-
-#endif