aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorTianyu Lan <[email protected]>2023-08-18 06:29:12 -0400
committerWei Liu <[email protected]>2023-08-22 00:38:20 +0000
commit8387ce06d70bbbb97a0c168a52b68268ae0da075 (patch)
treea4e0c65267595b475f3b9c9bb833775081acf1a6 /lib/test_fortify/write_overflow-strncpy-src.c
parentd6e2d652443751e290b2edb70173ec3c22f78fbe (diff)
x86/hyperv: Set Virtual Trust Level in VMBus init message
SEV-SNP guests on Hyper-V can run at multiple Virtual Trust Levels (VTL). During boot, get the VTL at which we're running using the GET_VP_REGISTERs hypercall, and save the value for future use. Then during VMBus initialization, set the VTL with the saved value as required in the VMBus init message. Reviewed-by: Dexuan Cui <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Signed-off-by: Tianyu Lan <[email protected]> Signed-off-by: Wei Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions