target/i386: SEV: store pointer to decoded id_auth in SevSnpGuest
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Jun 2024 17:05:21 +0000 (19:05 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Jun 2024 17:26:54 +0000 (19:26 +0200)
commit1ab620bf3601a3c9e264031d80c7023690ddc2b4
treed33ba344a3f828c41a850af0ed65361bf9946284
parent803b7718e6de87a3ecd5555da7d9fce6435c7db9
target/i386: SEV: store pointer to decoded id_auth in SevSnpGuest

Do not rely on finish->id_auth_uaddr, so that there are no casts from
pointer to uint64_t.  They break on 32-bit hosts.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/sev.c