diff options
author | Philippe Mathieu-Daudé | 2021-10-07 18:17:06 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-10-13 10:47:49 +0200 |
commit | e24b3332042b7372f4817694aec48650dcfa68a0 (patch) | |
tree | 3f3df9ea19bd8336728f1ba29ed599f295de79c5 /target/i386/sev.c | |
parent | target/i386/sev: Use g_autofree in sev_launch_get_measure() (diff) | |
download | qemu-e24b3332042b7372f4817694aec48650dcfa68a0.tar.gz qemu-e24b3332042b7372f4817694aec48650dcfa68a0.tar.xz qemu-e24b3332042b7372f4817694aec48650dcfa68a0.zip |
target/i386/sev: Restrict SEV to system emulation
SEV is irrelevant on user emulation, so restrict it to sysemu.
Some stubs are still required because used in cpu.c by
x86_register_cpudef_types(), so move the sysemu specific stubs
to sev-sysemu-stub.c instead. This will allow us to simplify
monitor.c (which is not available in user emulation) in the
next commit.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-14-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/sev.c')
0 files changed, 0 insertions, 0 deletions