Kconfig 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Microsoft Hyper-V guest support"
  3. config HYPERV
  4. tristate "Microsoft Hyper-V client drivers"
  5. depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
  6. || (ACPI && ARM64 && !CPU_BIG_ENDIAN)
  7. select PARAVIRT
  8. select X86_HV_CALLBACK_VECTOR if X86
  9. select OF_EARLY_FLATTREE if OF
  10. help
  11. Select this option to run Linux as a Hyper-V client operating
  12. system.
  13. config HYPERV_VTL_MODE
  14. bool "Enable Linux to boot in VTL context"
  15. depends on X86_64 && HYPERV
  16. depends on SMP
  17. default n
  18. help
  19. Virtual Secure Mode (VSM) is a set of hypervisor capabilities and
  20. enlightenments offered to host and guest partitions which enables
  21. the creation and management of new security boundaries within
  22. operating system software.
  23. VSM achieves and maintains isolation through Virtual Trust Levels
  24. (VTLs). Virtual Trust Levels are hierarchical, with higher levels
  25. being more privileged than lower levels. VTL0 is the least privileged
  26. level, and currently only other level supported is VTL2.
  27. Select this option to build a Linux kernel to run at a VTL other than
  28. the normal VTL0, which currently is only VTL2. This option
  29. initializes the x86 platform for VTL2, and adds the ability to boot
  30. secondary CPUs directly into 64-bit context as required for VTLs other
  31. than 0. A kernel built with this option must run at VTL2, and will
  32. not run as a normal guest.
  33. If unsure, say N
  34. config HYPERV_TIMER
  35. def_bool HYPERV && X86
  36. config HYPERV_UTILS
  37. tristate "Microsoft Hyper-V Utilities driver"
  38. depends on HYPERV && CONNECTOR && NLS
  39. depends on PTP_1588_CLOCK_OPTIONAL
  40. help
  41. Select this option to enable the Hyper-V Utilities.
  42. config HYPERV_BALLOON
  43. tristate "Microsoft Hyper-V Balloon driver"
  44. depends on HYPERV
  45. select PAGE_REPORTING
  46. help
  47. Select this option to enable Hyper-V Balloon driver.
  48. endmenu