diff options
author | Dexuan Cui <[email protected]> | 2023-08-24 01:07:11 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2023-08-25 00:04:57 +0000 |
commit | e3131f1c81448a87e08dffd21867312a5ce563d9 (patch) | |
tree | fff8b96a8664d6478e41917a305c53bcc7a79048 /tools/perf/scripts/python | |
parent | b9b4fe3a72b60c8d74a9ffb61aa778f04eaddd87 (diff) |
x86/hyperv: Remove hv_isolation_type_en_snp
In ms_hyperv_init_platform(), do not distinguish between a SNP VM with
the paravisor and a SNP VM without the paravisor.
Replace hv_isolation_type_en_snp() with
!ms_hyperv.paravisor_present && hv_isolation_type_snp().
The hv_isolation_type_en_snp() in drivers/hv/hv.c and
drivers/hv/hv_common.c can be changed to hv_isolation_type_snp() since
we know !ms_hyperv.paravisor_present is true there.
Signed-off-by: Dexuan Cui <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Reviewed-by: Tianyu Lan <[email protected]>
Signed-off-by: Wei Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions