summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Gibson2020-06-04 08:42:18 +0200
committerPaolo Bonzini2020-06-12 17:20:14 +0200
commitcf504cd67b26ded2e25eb8f33b5ebec031b31def (patch)
tree8431332dc050d7a50a1e5f6d13481fa1e7a87652 /include
parenttarget/i386: sev: Remove redundant policy field (diff)
downloadqemu-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')
0 files changed, 0 insertions, 0 deletions