]> Git Repo - qemu.git/commit
target/i386: sev: Remove redundant handle field
authorDavid Gibson <[email protected]>
Thu, 4 Jun 2020 06:42:18 +0000 (16:42 +1000)
committerPaolo Bonzini <[email protected]>
Fri, 12 Jun 2020 15:20:14 +0000 (11:20 -0400)
commitcf504cd67b26ded2e25eb8f33b5ebec031b31def
tree8431332dc050d7a50a1e5f6d13481fa1e7a87652
parent0bd1527774fc17985f47df41b95f31b00b162129
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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <20200604064219[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/sev.c
This page took 0.037566 seconds and 4 git commands to generate.