OSDN Git Service

hw/i386/sgx: Move qmp_query_sgx() and hmp_info_sgx() to hw/i386/sgx.c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Oct 2021 17:56:12 +0000 (19:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:50 +0000 (10:47 +0200)
commit6e81733e27a250af7507c3dd5ae945c473ab0d6b
tree905b06bd8e4b3f4c17556644a4de902ea537b7bc
parent021658566b71e138db46434849f0556bab3fc30b
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>
hw/i386/sgx-stub.c
hw/i386/sgx.c
include/hw/i386/sgx.h [deleted file]
target/i386/monitor.c