target/i386/sev: Move qmp_query_sev_capabilities() to sev.c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Oct 2021 16:17:12 +0000 (18:17 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:49 +0000 (10:47 +0200)
commit8371df29021241b43a7a9df6369fc70f649551a2
tree8c2ae6906d577cf6e9a725569b7b949241dcdc05
parent11a6ed0e77e8dd37ccea07575791b70c0410efea
target/i386/sev: Move qmp_query_sev_capabilities() to sev.c

Move qmp_query_sev_capabilities() from monitor.c to sev.c
and make sev_get_capabilities() static. We don't need the
stub anymore, remove it.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-20-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