diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2020-06-04 16:42:18 +1000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-12 11:20:14 -0400 |
commit | cf504cd67b26ded2e25eb8f33b5ebec031b31def (patch) | |
tree | 8431332dc050d7a50a1e5f6d13481fa1e7a87652 /target/nios2 | |
parent | 0bd1527774fc17985f47df41b95f31b00b162129 (diff) | |
download | qemu-cf504cd67b26ded2e25eb8f33b5ebec031b31def.zip qemu-cf504cd67b26ded2e25eb8f33b5ebec031b31def.tar.gz qemu-cf504cd67b26ded2e25eb8f33b5ebec031b31def.tar.bz2 |
target/i386: sev: Remove redundant handle field
The user can explicitly specify a handle via the "handle" property wired
to SevGuestState::handle. That gets passed to the KVM_SEV_LAUNCH_START
ioctl() which may update it, the final value being copied back to both
SevGuestState::handle and SEVState::handle.
AFAICT, nothing will be looking SEVState::handle before it and
SevGuestState::handle have been updated from the ioctl(). So, remove the
field and just use SevGuestState::handle directly.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200604064219.436242-9-david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/nios2')
0 files changed, 0 insertions, 0 deletions