]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386/sgx: Move qmp_query_sgx_capabilities() to hw/i386/sgx.c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Oct 2021 17:56:11 +0000 (19:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:49 +0000 (10:47 +0200)
commit021658566b71e138db46434849f0556bab3fc30b
tree3c9c85e5ef8d24f3395971d21a5d692d4375a695
parent05fc8db720a2effad2fe523ab45c1ce5f8f32379
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>
hw/i386/sgx-stub.c
hw/i386/sgx.c
include/hw/i386/sgx.h
target/i386/monitor.c