diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-18 06:49:18 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-18 14:07:19 -0400 |
commit | 9f1ee7b169afbd10c3ad254220d1b37beb5798aa (patch) | |
tree | ca9ef775f5f75f4a5aacc568e9ee2c1309ab3e4f /tools | |
parent | d61863c66f9b443192997613cd6aeca3f65cc313 (diff) |
KVM: SEV-ES: reduce ghcb_sa_len to 32 bits
The size of the GHCB scratch area is limited to 16 KiB (GHCB_SCRATCH_AREA_LIMIT),
so there is no need for it to be a u64. This fixes a build error on 32-bit
systems:
i686-linux-gnu-ld: arch/x86/kvm/svm/sev.o: in function `sev_es_string_io:
sev.c:(.text+0x110f): undefined reference to `__udivdi3'
Cc: stable@vger.kernel.org
Fixes: 019057bd73d1 ("KVM: SEV-ES: fix length of string I/O")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions