]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386/sev: Move qmp_query_sev() & hmp_info_sev() to sev.c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Oct 2021 16:17:14 +0000 (18:17 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:49 +0000 (10:47 +0200)
commitaa3950182f902a48f60d7040069b092eb5aaae21
tree6e4f912deec81d3bc48b8294904d03fa783d92ce
parent0875a7038b8de0d79479a7d4662f0a9cdfa61940
target/i386/sev: Move qmp_query_sev() & hmp_info_sev() to sev.c

Move qmp_query_sev() & hmp_info_sev()() from monitor.c to sev.c
and make sev_get_info() static. We don't need the stub anymore,
remove it. Add a stub for hmp_info_sev().

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-22-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/monitor.c
target/i386/sev-sysemu-stub.c
target/i386/sev.c
target/i386/sev.h