Supported CentOS and Red Hat Enterprise Linux virtual machines on Hyper-V
Applies To: Hyper-V Server 2012, Windows 8.1, Windows Server 2008 R2, Windows Server 2012 R2, Microsoft Hyper-V Server Technical Preview, Windows Server 2012, Hyper-V Server 2012 R2, Windows 10 Technical Preview, Windows Server Technical Preview, Windows 8
The following feature distribution maps indicate the features that are present in built-in and downloadable versions of Linux Integration Services. The known issues and workarounds for each distribution are listed after the tables.
Red Hat certifies Red Hat Enterprise Linux as supported when running on Hyper-V. See the Red Hat Hardware Certification web page for details on the certified combinations of RHEL versions and Hyper-V versions.
Because of potential conflicts between the built-in LIS support and the downloadable LIS support when you upgrade the kernel, we recommend you disable automatic updates, uninstall the LIS downloadable packages, update the kernel, and then install the latest LIS release.
Table legend
Built in – LIS are included as part of this Linux distribution. The kernel module version numbers for the built in LIS (as shown by lsmod, for example) are different from the version number on the Microsoft-provided LIS download package. A mismatch does not indicate that the built in LIS is out of date.
√ - Feature available
(blank) - Feature not available
In this section:
RHEL/CentOS 5.x Series
RHEL/CentOS 6.x Series
RHEL/CentOS 7.x Series
Notes
RHEL/CentOS 5.x Series
This series has a supported 32-bit PAE kernel available. LIS 3.5 is not compatible with RHEL/CentOS 5.9-5.11. There is no built-in LIS support for RHEL/CentOS before 5.9.
Feature |
Windows Server version |
5.5-5.11 |
5.9 – 5.11 |
5.7 – 5.8 |
5.5 – 5.6 |
Availability |
Built in |
||||
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
|
Jumbo frames |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
VLAN tagging and trunking |
2012 R2, 2012, 2008 R2 |
√ Note 1 |
√ Note 1 |
√ Note 1 |
√ Note 1 |
Live Migration |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
Static IP Injection |
2012 R2, 2012 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
vRSS |
2012 R2 |
||||
TCP Segmentation and Checksum Offloads |
2012 R2, 2012, 2008 R2 |
√ |
|||
VHDX resize |
2012 R2 |
√ |
√ |
√ |
|
Virtual Fibre Channel |
2012 R2 |
√ Note 3 |
√ Note 3 |
√ Note 3 |
|
Live virtual machine backup |
2012 R2 |
√ Note 4, 5 |
√ Note 4, 5, 6 |
√ Note 4, 5 |
√ Note 4, 5 |
TRIM support |
2012 R2 |
||||
Configuration of MMIO gap |
2012 R2 |
√ |
√ |
√ |
√ |
Dynamic Memory – Hot Add |
2012 R2, 2012 |
||||
Dynamic Memory – Ballooning |
2012 R2, 2012 |
√ Note 7, 9, 10, 11 |
√ Note 7, 9, 10, 11 |
√ Note 7, 9, 10, 11 |
|
Hyper-V-specific video device |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
|
Key-Value Pair |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
|
Non-Maskable Interrupt |
2012 R2 |
√ |
√ |
√ |
√ |
PAE Kernel Support |
√ |
√ |
√ |
√ |
|
File copy from host to guest |
2012 R2 |
√ |
|||
Boot using UEFI |
2012 R2 |
||||
Secure boot |
2012 R2 |
RHEL/CentOS 6.x Series
The 32-bit kernel for this series is PAE enabled. There is no built-in LIS support for RHEL/CentOS 6.0-6.3.
Feature |
Windows Server version |
6.0-6.7 |
6.6, 6.7 |
6.5 |
6.4 |
6.0 – 6.3 |
Availability |
Built in |
Built in |
Built in |
|||
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
√ |
|
Jumbo frames |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
√ |
VLAN tagging and trunking |
2012 R2, 2012, 2008 R2 |
√ Note 1 |
√ Note 1 |
√ Note 1 |
√ Note 1 |
√ Note 1 |
Live Migration |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
√ |
Static IP Injection |
2012 R2, 2012 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
vRSS |
2012 R2 |
√ |
√ |
|||
TCP Segmentation and Checksum Offloads |
2012 R2, 2012, 2008 R2 |
√ |
√ |
|||
VHDX resize |
2012 R2 |
√ |
√ |
√ |
√ |
|
Virtual Fibre Channel |
2012 R2 |
√ Note 3 |
√ Note 3 |
√ Note 3 |
√ Note 3 |
|
Live virtual machine backup |
2012 R2 |
√ Note 4, 5 |
√ Note 4, 5 |
√ Note 4, 5, 6 |
√ Note 4, 5, 6 |
√ Note 4, 5 |
TRIM support |
2012 R2 |
|||||
Configuration of MMIO gap |
2012 R2 |
√ |
√ |
√ |
√ |
√ |
Dynamic Memory – Hot Add |
2012 R2, 2012 |
√ Note 7, 8, 9, 10 |
√ Note 7, 8, 9, 10 |
√ Note 7, 8, 9, 10 |
||
Dynamic Memory – Ballooning |
2012 R2, 2012 |
√ Note 7, 9, 10 |
√ Note 7, 9, 10 |
√ Note 7, 9, 10 |
√ Note 7, 9, 10, 11 |
√ Note 7, 9, 10, 11 |
Hyper-V-specific video device |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
|
Key-Value Pair |
2012 R2, 2012, 2008 R2 |
√ |
√ Note 12 |
√ Note 12, 13 |
√ Note 12, 13 |
√ |
Non-Maskable Interrupt |
2012 R2 |
√ |
√ |
√ |
√ |
√ |
PAE Kernel Support |
√ |
√ |
√ |
√ |
√ |
|
File copy from host to guest |
2012 R2 |
√ |
√ |
|||
Boot using UEFI |
2012 R2 |
|||||
Secure boot |
2012 R2 |
RHEL/CentOS 7.x Series
This series only has 64-bit kernels.
Feature |
Windows Server version |
7.0-7.1 |
7.2 |
7.1 |
7.0 |
Availability |
Built in |
Built in |
Built in |
||
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
|
Jumbo frames |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
VLAN tagging and trunking |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
Live Migration |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
Static IP Injection |
2012 R2, 2012 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
√ Note 2 |
vRSS |
2012 R2 |
√ |
√ |
√ |
|
TCP Segmentation and Checksum Offloads |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
|
VHDX resize |
2012 R2 |
√ |
√ |
√ |
√ |
Virtual Fibre Channel |
2012 R2 |
√ Note 3 |
√ Note 3 |
√ Note 3 |
√ Note 3 |
Live virtual machine backup |
2012 R2 |
√ Note 4, 5 |
√ Note 4, 5 |
√ Note 4, 5 |
√ Note 4, 5 |
TRIM support |
2012 R2 |
||||
Configuration of MMIO gap |
2012 R2 |
√ |
√ |
√ |
√ |
Dynamic Memory – Hot Add |
2012 R2, 2012 |
√ Note 8, 9, 10 |
√ |
√ |
√ Note 8, 9, 10 |
Dynamic Memory – Ballooning |
2012 R2, 2012 |
√ Note 9, 10 |
√ Note 9, 10 |
√ Note 9, 10 |
√ Note 9, 10 |
Hyper-V-specific video device |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
Key-Value Pair |
2012 R2, 2012, 2008 R2 |
√ |
√ |
√ |
√ |
Non-Maskable Interrupt |
2012 R2 |
√ |
√ |
√ |
√ |
PAE Kernel Support |
N/A |
N/A |
N/A |
N/A |
|
File copy from host to guest |
2012 R2 |
√ |
√ |
√ |
|
Boot using UEFI |
2012 R2 |
√ Note 14 |
√ Note 14 |
√ Note 14 |
√ Note 14 |
Secure boot |
2012 R2 |
Notes
For this RHEL/CentOS release, VLAN tagging works but VLAN trunking does not.
Static IP injection may not work if Network Manager has been configured for a given synthetic network adapter on the virtual machine. To ensure smooth functioning of static IP injection please ensure that either Network Manager is either turned off completely or has been turned off for a specific network adapter through its ifcfg-ethX file.
While using virtual fibre channel devices, ensure that logical unit number 0 (LUN 0) has been populated. If LUN 0 has not been populated, a Linux virtual machine might not be able to mount fibre channel devices natively.
If there are open file handles during a live virtual machine backup operation, then in some corner cases, the backed-up VHDs might have to undergo a file system consistency check (fsck) on restore.
Live backup operations can fail silently if the virtual machine has an attached iSCSI device or direct-attached storage (also known as a pass-through disk).
Live backup support for RHEL/CentOS 5.9 – 5.11/6.4/6.5 is available through Hyper-V Backup Essentials for Linux.
Dynamic memory support is only available on 64-bit virtual machines.
Hot-Add support is not enabled by default in this distribution. To enable Hot-Add support you need to add a udev rule under /etc/udev/rules.d/ as follows:
Create a file /etc/udev/rules.d/100-balloon.rules. You may use any other desired name for the file.
Add the following content to the file: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}="online"
Reboot the system to enable Hot-Add support.
Dynamic memory operations can fail if the guest operating system is running too low on memory. The following are some best practices:
Startup memory and minimal memory should be equal to or greater than the amount of memory that the distribution vendor recommends.
Applications that tend to consume the entire available memory on a system are limited to consuming up to 80 percent of available RAM.
If you are using Dynamic Memory on a Windows Server 2012 operating system, specify Startup memory, Minimum memory, and Maximum memory parameters in multiples of 128 megabytes (MB). Failure to do so can lead to hot-add failures, and you may not see any memory increase in a guest operating system.
Certain distributions, including those using LIS 3.5 and 4.0, only provide Ballooning support and do not provide Hot-Add support. In such a scenario, the dynamic memory feature can be used by setting the Startup memory parameter to a value which is equal to the Maximum memory parameter. This results in all the requisite memory being Hot-Added to the virtual machine at boot time and then later depending upon the memory requirements of the host, Hyper-V can freely allocate or deallocate memory from the guest using Ballooning. Please ensure that Startup Memory and Minimum Memory are not set below the recommended value for the distribution.
To enable key/value pair (KVP) infrastructure, install the hypervkvpd or hyperv-daemons (on RHEL 6.6) rpm package from your RHEL ISO. Alternatively the package can be installed directly from RHEL repositories.
In Windows Server 2012 R2, the key/value pair (KVP) infrastructure might not function correctly without a Linux software update. Contact your distribution vendor to obtain the software update in case you see problems with this feature.
Generation 2 virtual machines have secure boot enabled by default and Generation 2 Linux virtual machines will not boot unless the secure boot option is disabled. You can disable secure boot in the Firmware section of the settings for the virtual machine in Hyper-V Manager or you can disable it using Powershell:
Set-VMFirmware –VMName "VMname" -EnableSecureBoot Off
See Also