diff options
author | Dexuan Cui <[email protected]> | 2023-08-24 01:07:12 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2023-08-25 00:04:57 +0000 |
commit | a67f6b60d6ed953d5b23a22f26fc916aab630aaa (patch) | |
tree | 57a186fd985cc1c94e007218673e0475beff1f70 /arch/x86/hyperv/hv_apic.c | |
parent | e3131f1c81448a87e08dffd21867312a5ce563d9 (diff) |
x86/hyperv: Move the code in ivm.c around to avoid unnecessary ifdef's
Group the code this way so that we can avoid too many ifdef's:
Data only used in an SNP VM with the paravisor;
Functions only used in an SNP VM with the paravisor;
Data only used in an SNP VM without the paravisor;
Functions only used in an SNP VM without the paravisor;
Functions only used in a TDX VM, with and without the paravisor;
Functions used in an SNP or TDX VM, when the paravisor is present;
Functions always used, even in a regular non-CoCo VM.
No functional change.
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 'arch/x86/hyperv/hv_apic.c')
0 files changed, 0 insertions, 0 deletions