mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
021658566b
commit
6e81733e27
4 changed files with 32 additions and 42 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue