OSDN Git Service

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

Move qmp_query_sev_launch_measure() from monitor.c to sev.c
and make sev_get_launch_measurement() 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-21-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