target/i386: SEV: store pointer to decoded id_block 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)
commitdd1b2fb554fb0ace09319e96b21e3b776eb7f5ba
treeaac2f37d7e5180989e449d8f4a218dd985e7116d
parent68c3aa3e97d843b080d5e445ff3a900f6f703471
target/i386: SEV: store pointer to decoded id_block in SevSnpGuest

Do not rely on finish->id_block_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