diff options
| author | David Gibson | 2020-06-04 08:42:18 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-06-12 17:20:14 +0200 |
| commit | cf504cd67b26ded2e25eb8f33b5ebec031b31def (patch) | |
| tree | 8431332dc050d7a50a1e5f6d13481fa1e7a87652 /include/exec | |
| parent | target/i386: sev: Remove redundant policy field (diff) | |
| download | qemu-cf504cd67b26ded2e25eb8f33b5ebec031b31def.tar.gz qemu-cf504cd67b26ded2e25eb8f33b5ebec031b31def.tar.xz qemu-cf504cd67b26ded2e25eb8f33b5ebec031b31def.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
