diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-10-07 18:17:09 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-13 10:47:49 +0200 |
commit | 02eacf31374152e6fb44554a4632f477d82dd9fc (patch) | |
tree | f3e3845b7b22136583c704d361b26af630eb407c /target/i386/sev.c | |
parent | deae846f944a330e69109af8c807d6f2e66c95e6 (diff) | |
download | qemu-02eacf31374152e6fb44554a4632f477d82dd9fc.zip qemu-02eacf31374152e6fb44554a4632f477d82dd9fc.tar.gz qemu-02eacf31374152e6fb44554a4632f477d82dd9fc.tar.bz2 |
target/i386/sev: Remove stubs by using code elision
Only declare sev_enabled() and sev_es_enabled() when CONFIG_SEV is
set, to allow the compiler to elide unused code. Remove unnecessary
stubs.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20211007161716.453984-17-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