Recent from talks
Contribute something
Nothing was collected or created yet.
Hyper-V
View on Wikipedia| Hyper-V | |
|---|---|
A Windows 10 Hyper-V guest virtual machine running inside a Windows 10 host | |
| Developer | Microsoft |
| Initial release | June 28, 2008 |
| Operating system | Windows Server Windows 8, Windows 8.1, Windows 10, Windows 11 (x64; Pro, Enterprise and Education) |
| Predecessor | Windows Virtual PC Microsoft Virtual Server |
| Type | Native hypervisor |
| License | Proprietary |
| Website | learn |
Hyper-V is a native hypervisor developed by Microsoft; it can create virtual machines on x86-64 systems running Windows.[1] It is included in Pro and Enterprise editions of Windows (since Windows 8) as an optional feature to be manually enabled.[2] A server computer running Hyper-V can be configured to expose individual virtual machines to one or more networks.
Overview
[edit]Codenamed Viridian[3] and briefly known before its release as Windows Server Virtualization, a beta version was shipped with certain x86-64 editions of Windows Server 2008. The finalized version was released on June 26, 2008 and was delivered through Windows Update.[4] Hyper-V has since been released with every version of Windows Server starting with version 2012,[5][6][7] superseding Microsoft Virtual Server, and starting with Windows 8, Hyper-V has been the hardware virtualization component for personal computers, superseding Windows Virtual PC.
Microsoft provides Hyper-V through two channels:
- Part of Windows: Hyper-V is an optional component of Windows Server 2008 and later. It is also available in x64 SKUs of Pro and Enterprise editions of Windows 8, Windows 8.1, Windows 10 and Windows 11.
- Hyper-V Server: It is a freeware edition of Windows Server with limited functionality and Hyper-V component.[8]
Hyper-V Server
[edit]Hyper-V Server 2008 was released on October 1, 2008. It consists of Windows Server 2008 Server Core and Hyper-V role; other Windows Server 2008 roles are disabled, and there are limited Windows services.[9] Hyper-V Server 2008 is limited to a command-line interface used to configure the host OS, physical hardware, and software. A menu driven command line interface (CLI) and some freely downloadable script files simplify configuration. In addition, Hyper-V Server supports remote access via Remote Desktop Connection. However, administration and configuration of the host OS and the guest virtual machines is generally done over the network, using either Microsoft Management Consoles on another Windows computer or System Center Virtual Machine Manager. This allows much easier "point and click" configuration, and monitoring of the Hyper-V Server.
Hyper-V Server 2008 R2 (an edition of Windows Server 2008 R2) was made available in September 2009 and includes Windows PowerShell v2 for greater CLI control. Remote access to Hyper-V Server requires CLI configuration of network interfaces and Windows Firewall. Also using a Windows Vista PC to administer Hyper-V Server 2008 R2 is not fully supported.
Microsoft ended mainstream support of the free version of Hyper-V Server 2019 on January 9, 2024 and extended support will end on January 9, 2029.[10] Hyper-V Server 2019 will be the last version of the free, standalone product. Hyper-V is still available as a role in Windows Server 2022 and will be supported as long as that operating system is, currently scheduled for end of extended support on October 14, 2031.[11]
Architecture
[edit]
Hyper-V implements isolation of virtual machines in terms of a partition. A partition is a logical unit of isolation, supported by the hypervisor, in which each guest operating system executes. There must be at least one parent partition in a hypervisor instance, running a supported version of Windows. The parent partition creates child partitions which host the guest OSs. The Virtualization Service Provider and Virtual Machine Management Service runs in the parent partition and provide support for child partition. A parent partition creates child partitions using the hypercall API, which is the application programming interface exposed by Hyper-V.[12]
A child partition does not have access to the physical processor, nor does it handle its real interrupts. Instead, it has a virtual view of the processor and runs in Guest Virtual Address, which, depending on the configuration of the hypervisor, might not necessarily be the entire virtual address space. Depending on VM configuration, Hyper-V may expose only a subset of the processors to each partition. The hypervisor handles the interrupts to the processor, and redirects them to the respective partition using a logical Synthetic Interrupt Controller (SynIC). Hyper-V can hardware accelerate the address translation of Guest Virtual Address-spaces by using second level address translation provided by the CPU, referred to as EPT on Intel and RVI (formerly NPT) on AMD.
Child partitions do not have direct access to hardware resources, but instead have a virtual view of the resources, in terms of virtual devices. Any request to the virtual devices is redirected via the VMBus to the devices in the parent partition, which will manage the requests. The VMBus is a logical channel which enables inter-partition communication. The response is also redirected via the VMBus. If the devices in the parent partition are also virtual devices, it will be redirected further until it reaches the parent partition, where it will gain access to the physical devices. Parent partitions run a Virtualization Service Provider (VSP), which connects to the VMBus and handles device access requests from child partitions. Child partition virtual devices internally run a Virtualization Service Client (VSC), which redirect the request to VSPs in the parent partition via the VMBus. This entire process is transparent to the guest OS.
Virtual devices can also take advantage of a Windows Server Virtualization feature, named Enlightened I/O, for storage, networking and graphics subsystems, among others. Enlightened I/O is a specialized virtualization-aware implementation of high level communication protocols, like SCSI, that allows bypassing any device emulation layer and takes advantage of VMBus directly. This makes the communication more efficient, but requires the guest OS to support Enlightened I/O.
Currently[when?] only the following operating systems support Enlightened I/O, allowing them therefore to run faster as guest operating systems under Hyper-V than other operating systems that need to use slower emulated hardware:
- Windows Server 2008 and later
- Windows Vista and later
- Linux with a 3.4 or later kernel[13]
- FreeBSD[14]
System requirements
[edit]The Hyper-V role is only available in the x86-64 variants of Standard, Enterprise and Datacenter editions of Windows Server 2008 and later, as well as the Pro, Enterprise and Education editions of Windows 8 and later. On Windows Server, it can be installed regardless of whether the installation is a full or core installation. In addition, Hyper-V can be made available as part of the Hyper-V Server operating system, which is a freeware edition of Windows Server.[15] Either way, the host computer needs the following.[16]
- CPU with the following technologies:
- NX bit
- x86-64
- Hardware-assisted virtualization (Intel VT-x or AMD-V)
- Second Level Address Translation (in Windows 8 and later)[17]
- At least 2 GB memory, in addition to what is assigned to each guest machine
The amount of memory assigned to virtual machines depends on the operating system:
- Windows Server 2008 Standard supports up to 31 GB of memory for running VMs, plus 1 GB for the host OS.[18]
- Windows Server 2008 R2 Standard supports up to 32 GB, but the Enterprise and Datacenter editions support up to 2 TB.[19] Hyper-V Server 2008 R2 supports up to 1 TB.[16]
- Windows Server 2012 supports up to 4 TB.
The number of CPUs assigned to each virtual machine also depends on the OS:
- Windows Server 2008 and 2008 R2 support 1, 2, or 4 CPUs per VM; the same applies to Hyper-V Server 2008 R2[15]
- Windows Server 2012 supports up to 64 CPUs per VM
There is also a maximum for the number of concurrently active virtual machines.
Supported guests
[edit]Windows Server 2008 R2
[edit]The following table lists supported guest operating systems on Windows Server 2008 R2 SP1.[23]
| Guest operating system | Virtual CPUs | ||
|---|---|---|---|
| OS | Editions | Number | Architecture |
| Windows Server 2012[a] | Hyper-V, Standard, Datacenter | 1–4 | x86-64 |
| Windows Home Server 2011 | Standard | 1–4 | x86-64 |
| Windows Server 2008 R2 SP1 | Web, Standard, Enterprise, Datacenter | 1–4 | x86-64 |
| Windows Server 2008 SP2 | Web, Standard, Enterprise, Datacenter | 1–4 | IA-32, x86-64 |
| Windows Server 2003 R2 SP2 | Web,[b] Standard, Enterprise, Datacenter | 1 or 2 | IA-32, x86-64 |
| Windows 2000 SP4 | Professional, Server, Advanced Server | 1 | IA-32 |
| Windows 7 | Professional, Enterprise, Ultimate | 1–4 | IA-32, x86-64 |
| Windows Vista | Business, Enterprise, Ultimate | 1–4 | IA-32, x86-64 |
| Windows XP SP3 | Professional | 1 or 2 | IA-32 |
| Windows XP SP2 | Professional, Professional x64 Edition | 1 | IA-32, x86-64 |
| SUSE Linux Enterprise Server 10 SP4 or 11 SP1–SP3 | — | 1–4 | IA-32, x86-64 |
| Red Hat Enterprise Linux 5.5–7.0 | Red Hat Compatible Kernel | 1–4 | IA-32, x86-64 |
| CentOS 5.5–7.5 | — | 1–4 | IA-32, x86-64 |
| Ubuntu 12.04–20.04 | Debian Compatible Kernel | 1–4 | IA-32, x86-64 |
| Debian 7.0 | Debian Compatible Kernel | 1–4 | IA-32, x86-64 |
| Oracle Linux 6.4 | Red Hat Compatible Kernel | 1–4 | IA-32, x86-64 |
- ^ Windows Server 2012 is supported and runs only on a host system Windows Server 2008 R2 RTM or SP1, with a hotfix applied.
- ^ Web edition does not have an x64 version.
Fedora 8 or 9 are unsupported; however, they have been reported to run.[23][24][25][26]
Third-party support for FreeBSD 8.2 and later guests is provided by a partnership between NetApp and Citrix.[27] This includes both emulated and paravirtualized modes of operation, as well as several HyperV integration services.[28]
Desktop virtualization (VDI) products from third-party companies (such as Quest Software vWorkspace, Citrix XenDesktop, Systancia AppliDis Fusion[29] and Ericom PowerTerm WebConnect) provide the ability to host and centrally manage desktop virtual machines in the data center while giving end users a full PC desktop experience.
Guest operating systems with Enlightened I/O and a hypervisor-aware kernel such as Windows Server 2008 and later server versions, Windows Vista SP1 and later clients and offerings from Citrix XenServer and Novell will be able to use the host resources better since VSC drivers in these guests communicate with the VSPs directly over VMBus.[30] Non-"enlightened" operating systems will run with emulated I/O;[31] however, integration components (which include the VSC drivers) are available for Windows Server 2003 SP2, Windows Vista SP1 and Linux to achieve better performance.
Linux support
[edit]On July 20, 2009, Microsoft submitted Hyper-V drivers for inclusion in the Linux kernel under the terms of the GPL.[32] Microsoft was required to submit the code when it was discovered that they had incorporated a Hyper-V network driver with GPL-licensed components statically linked to closed-source binaries.[33] Kernels beginning with 2.6.32 may include inbuilt Hyper-V paravirtualization support which improves the performance of virtual Linux guest systems in a Windows host environment. Hyper-V provides basic virtualization support for Linux guests out of the box. Paravirtualization support requires installing the Linux Integration Components or Satori InputVSC drivers. Xen-enabled Linux guest distributions may also be paravirtualized in Hyper-V. As of 2013[update] Microsoft officially supported only SUSE Linux Enterprise Server 10 SP1/SP2 (x86 and x64) in this manner,[34] though any Xen-enabled Linux should be able to run. In February 2008, Red Hat and Microsoft signed a virtualization pact for hypervisor interoperability with their respective server operating systems, to enable Red Hat Enterprise Linux 5 to be officially supported on Hyper-V.[35]
Windows Server 2012
[edit]Hyper-V in Windows Server 2012 and Windows Server 2012 R2 changes the support list above as follows:[36]
- Hyper-V in Windows Server 2012 adds support for Windows 8.1 (up to 32 CPUs) and Windows Server 2012 R2 (64 CPUs); Hyper-V in Windows Server 2012 R2 adds support for Windows 10 (32 CPUs) and Windows Server 2016 (64 CPUs).
- Minimum supported version of CentOS is 6.0.
- Minimum supported version of Red Hat Enterprise Linux is 5.7.
- Maximum number of supported CPUs for Windows Server and Linux operating systems is increased from four to 64.
Windows Server 2012 R2
[edit]Hyper-V on Windows Server 2012 R2 added the Generation 2 VM.[37]
Backward compatibility
[edit]Hyper-V, like Microsoft Virtual Server and Windows Virtual PC, saves each guest OS to a single virtual hard disk file. It supports the older .vhd format, as well as the newer .vhdx. Older .vhd files from Virtual Server 2005, Virtual PC 2004 and Virtual PC 2007 can be copied and used in Hyper-V, but any old virtual machine integration software (equivalents of Hyper-V Integration Services) must be removed from the virtual machine. After the migrated guest OS is configured and started using Hyper-V, the guest OS will detect changes to the (virtual) hardware. Installing "Hyper-V Integration Services" installs five services to improve performance, at the same time adding the new guest video and network card drivers.
Limitations
[edit]Audio
[edit]Hyper-V does not virtualize audio hardware. Before Windows 8.1 and Windows Server 2012 R2, it was possible to work around this issue by connecting to the virtual machine with Remote Desktop Connection over a network connection and use its audio redirection feature.[38][39] Windows 8.1 and Windows Server 2012 R2 add the enhanced session mode which provides redirection without a network connection.[40]
Optical drives pass-through
[edit]Optical drives virtualized in the guest VM are read-only.[41] Officially Hyper-V does not support the host/root operating system's optical drives to pass-through in guest VMs. As a result, burning to discs, audio CDs, video CD/DVD-Video playback are not supported; however, a workaround exists using the iSCSI protocol. Setting up an iSCSI target on the host machine with the optical drive can then be talked to by the standard Microsoft iSCSI initiator. Microsoft produces their own iSCSI Target software or alternative third party products can be used.[42]
VT-x/AMD-V handling
[edit]Hyper-V uses the VT-x on Intel or AMD-V on AMD x86 virtualization. Since Hyper-V is a native hypervisor, as long as it is installed, third-party software cannot use VT-x or AMD-V. For instance, the Intel HAXM Android device emulator (used by Android Studio or Microsoft Visual Studio) cannot run while Hyper-V is installed.[43]
Performance degradation
[edit]Hyper-V is a native hypervisor, and enabling Hyper-V on host Windows operating system downloads and installs additional components to the operating system. Enabling Hyper-V may cause performance degradation on hosts, even if no Hyper-V virtual machine is running.[44]
Client operating systems
[edit]Hyper-V is also available in x64 SKUs of Windows 8, 8.1, 10 Pro, Enterprise, Education. The following features are not available on client versions of Windows:[45]
- Live migration of virtual machines from one host to another
- Hyper-V Replica
- Virtual Fiber Channel
- SR-IOV networking
- Shared .VHDX
The following features are not available on server versions of Windows:[45]
- Quick Create and the VM Gallery
- Default network (NAT switch)
Feature changes per version
[edit]Windows Server 2012
[edit]Windows Server 2012 introduced many new features in Hyper-V.[7]
- Hyper-V Extensible Virtual Switch[46][47]
- Network virtualization[46]
- Multi-tenancy
- Storage Resource Pools
- .vhdx disk format supporting virtual hard disks as large as 64 TB[48] with power failure resiliency
- Virtual Fibre Channel
- Offloaded data transfer
- Virtual Machine Queue (VMQ)
- Hyper-V replica[49]
- Cross-premises connectivity
- Cloud backup
Windows Server 2012 R2
[edit]With Windows Server 2012 R2 Microsoft introduced another set of new features.[50]
- Shared virtual hard disk[51]
- Storage quality of service[52]
- Generation 2 Virtual Machine[53]
- Enhanced session mode[54]
- Automatic virtual machine activation[55]
Windows Server 2016
[edit]Hyper-V in Windows Server 2016 and Windows 10 1607 adds[56]
- Nested virtualization[57] (Intel processors only, both the host and guest instances of Hyper-V must be Windows Server 2016 or Windows 10 or later)
- Discrete Device Assignment (DDA), allowing direct pass-through of compatible PCI Express devices to guest Virtual Machines[58]
- Windows containers (to achieve isolation at the app level rather than the OS level)
- Shielded VMs using remote attestation servers
- Monitoring of host CPU resource utilization by guests and protection (limiting CPU usage by guests)
Windows Server 2019
[edit]Hyper-V in Windows Server 2019 and Windows 10 1809 adds[59]
- Shielded Virtual Machines improvements including Linux compatibility
- Virtual Machine Encrypted Networks
- vSwitch Receive Segment Coalescing
- Dynamic Virtual Machine Multi-Queue (d. VMMQ)
- Persistent Memory support
- Significant feature and performance improvements to Storage Spaces Direct and Failover Clustering
Windows Server 2022
[edit]Hyper-V in Windows Server 2022 added:[60]
- nested virtualization for AMD processors
- updated Receive Segment Coalescing (RSC) for virtual switches
Windows Server 2025
[edit]Hyper-V in Windows Server 2025 changes:[61]
- Generation 2 is now the default option in the New Virtual Machine Wizard in Hyper-V Manager
- GPU Partitioning (share a GPU between VMs)
- Hypervisor-enforced paging translation (HPVT)
- Support for 4 petabytes of memory and 2,048 logical processors per Hyper-V host
- Workgroup clusters (support for failover clusters without an Active Directory)
See also
[edit]References
[edit]- ^ Paul Thurrott. "Windows Server Virtualization Preview". Archived from the original on 2007-10-11. Retrieved 2007-09-25.
- ^ scooley (2024-08-12). "Enable Hyper-V on Windows". learn.microsoft.com. Retrieved 2024-12-03.
- ^ "Microsoft to ship Windows Server 2008, over time, in eight flavors". ZDNet. Archived from the original on 2010-09-24. Retrieved 2007-11-13.
- ^ "Announcement available from the Microsoft download centre". Archived from the original on 2008-06-29. Retrieved 2008-06-26.
- ^ "Microsoft Hyper-V Server". Microsoft. p. 1. Archived from the original on October 5, 2013. Retrieved January 12, 2012.
- ^ "Download: Microsoft® Hyper-V™ Server 2008 R2 SP1 - Microsoft Download Center - Download Details". Microsoft.com. 2011-12-04. Archived from the original on 2012-04-19. Retrieved 2012-10-07.
- ^ a b "Server Virtualization Features". Microsoft. Archived from the original on October 14, 2012. Retrieved October 5, 2012.
- ^ "Try Hyper-V Server 2012 R2". Evaluation Center. Microsoft. Archived from the original on 11 July 2020. Retrieved 16 February 2015.
- ^ "Microsoft Helps Customers Overcome Barriers to Virtualization and Get Virtual Now". PressPass (Press release). Microsoft. October 1, 2008. Archived from the original on 2010-01-18. Retrieved 2008-10-02.
- ^ "Microsoft Lifecycle". Hyper-V Server 2019 - Microsoft Lifecycle. Microsoft.
- ^ "Windows Server 2022 - Microsoft Lifecycle". learn.microsoft.com. Microsoft. Retrieved 2024-03-21.
- ^ "Hyper-V Architecture". Microsoft. 26 April 2022. Retrieved 2023-10-25.
- ^ "Staging: hv: storvsc: Move the storage driver out of the staging area". Retrieved 28 December 2015.
- ^ "FreeBSD and Microsoft Windows Server Hyper-V support". Archived from the original on 24 January 2015. Retrieved 10 February 2015.
- ^ a b c "Microsoft Hyper-V Server 2008 R2: Frequently Asked Questions". Microsoft.com. Microsoft. Archived from the original on 14 August 2011.
- ^ a b "Microsoft Hyper-V Server: System Requirements". Microsoft.com. Microsoft. Archived from the original on 14 March 2010.
- ^ Thurott, Paul. "Q: Will Windows Server 2012 require the processor to support SLAT?". Archived from the original on August 9, 2017. Retrieved November 5, 2011.
- ^ "Memory Limits for Windows Releases (Windows)". Msdn.microsoft.com. Archived from the original on 2009-06-20. Retrieved 2010-03-02.
- ^ "Microsoft Windows Server 2008 System Requirements". Microsoft.com. Archived from the original on 2011-06-12. Retrieved 2012-10-07.
- ^ "Microsoft Hyper-V Server: Overview". Microsoft.com. Archived from the original on 2012-03-22. Retrieved 2010-03-02.
- ^ "Hyper-V Server whitepaper" (PDF). Archived (PDF) from the original on 2013-11-07. Retrieved 2013-12-21.
- ^ "Plan for Hyper-V scalability in Windows Server 2016". Microsoft.com. Retrieved 2017-06-22.
- ^ a b "About Virtual Machines and Guest Operating Systems". TechNet. Microsoft. 16 July 2014. Archived from the original on 2016-05-06. Retrieved 2016-05-09.
- ^ "Installing Fedora Core 8 on Hyper-V - Ben Armstrong - Site Home - MSDN Blogs". Blogs.msdn.com. 2008-01-03. Archived from the original on 2010-02-10. Retrieved 2012-10-07.
- ^ Sheinberg, Brian (2008-02-08). "First Look: Fedora 9 Alpha, Running in Hyper-V Beta". Crn.com. Archived from the original on 2010-07-23. Retrieved 2012-10-07.
- ^ "Install Ubuntu 7.10 on Hyper-V". Haiders.net. 2008-04-04. Archived from the original on 2009-02-24. Retrieved 2012-10-07.
- ^ "Available Today: FreeBSD Support for Windows Server Hyper-V". Openness@Microsoft. 2012-08-09. Archived from the original on 2014-05-25. Retrieved 2014-05-25.
- ^ "HyperV - FreeBSD Wiki". Freebsd.org. Archived from the original on 2014-07-18. Retrieved 2014-05-25.
- ^ "Systancia offers application and desktop virtualization in a single product". DataMonitor.
- ^ "Microsoft Windows Server 2008 – Hyper-V solution overview - Gabe Knuth". BrianMadden.com. Archived from the original on 2008-07-04. Retrieved 2012-10-07.
- ^ Stevens, Alan (2008-02-27). "Microsoft's Hyper-V: why all the fuss?". ZDNet. CBS Interactive. Archived from the original on 2009-05-15. Retrieved 2012-10-07.
- ^ Ramji, Sam; Hanrahan, Tom (2009-07-20). "Microsoft Contributes Linux Drivers to Linux Community". News Center. Microsoft. Archived from the original on 2012-04-18. Retrieved 2010-03-02.
- ^ Foley, Mary Jo (2009-07-22). "Pigs are flying low: Why Microsoft open-sourced its Linux drivers". ZDNet. CBS Interactive. Archived from the original on 2012-10-12. Retrieved 2012-08-07.
- ^ Babcock, Charles (2008-04-24). "Microsoft Hyper-V To Flaunt Advanced Virtualization Features". Informationweek.com. Archived from the original on 2014-09-03. Retrieved 2012-10-07.
- ^ Foley, Mary Jo (2009-02-16). "Microsoft and Red Hat sign virtualization pact". ZDNet. CBS Interactive. Archived from the original on 2016-02-08. Retrieved 2012-10-07.
- ^ "Hyper-V Overview". TechNet. Microsoft. Archived from the original on September 15, 2012. Retrieved October 5, 2012.
- ^ Archiveddocs (25 October 2016). "Generation 2 Virtual Machine Overview". docs.microsoft.com. Archived from the original on 2021-01-26. Retrieved 2021-01-19.
- ^ Otey, Michael (24 June 2008). "Guest VM Audio Support under Hyper-V". Windows IT Pro. Penton Media. Archived from the original on 21 October 2014. Retrieved 21 September 2014.
- ^ "Enable Audio in Windows 2008 guest machines running on HyperV". Akshat's Blog. Microsoft. 7 April 2011. Archived from the original on 21 October 2014. Retrieved 21 September 2014.
- ^ Gear, Gavin (5 December 2013). "Overview: Client Hyper-V Enhanced Session Mode in Windows 8.1". Blogging Windows. Microsoft. Archived from the original on 15 October 2014. Retrieved 21 September 2014.
- ^ Cook, John Paul. "DVD writer on Hyper-V server". TechNet Forums. Microsoft. Archived from the original on 2012-03-23. Retrieved 2012-10-07.
- ^ "Using Full DVD/CD Writing Capabilities in a Hyper-V VM | Mark Gilbert's Blog". Mark-gilbert.co.uk. 2012-09-05. Archived from the original on 2016-05-09. Retrieved 2015-01-18.
- ^ Syrewicze, Andy (October 2, 2013). "VMware vs. Hyper-V: Architectural Differences". Syrewiczeit.com. Self-published. Archived from the original on February 25, 2018. Retrieved 2019-01-18.
- ^ "Hyper-v Architecture". learn.microsoft.com. Microsoft Corporation. 2022-04-26. Retrieved 2025-08-15.
- ^ a b "Introduction to Hyper-V on Windows". learn.microsoft.com. 2024-08-12. Retrieved 2024-10-15.
- ^ a b "A deep dive into Hyper-V Networking (Video and Slides)". Archived from the original on 2012-03-10. Retrieved 2011-09-22.
- ^ "Extending the Hyper-V switch (Video and Slides)". Archived from the original on 2012-05-23. Retrieved 2012-05-10.
- ^ "Hyper-V Virtual Hard Disk Format Overview". TechNet. Microsoft. Archived from the original on August 27, 2012. Retrieved August 25, 2012.
- ^ Reseller, Mike. "Hyper-V Replica in depth". Veeam Software. Archived from the original on 2014-11-29. Retrieved 2014-11-14.
- ^ "What's New in Hyper-V for Windows Server 2012 R2". Technet.microsoft.com. Archived from the original on 2016-06-03. Retrieved 2016-04-26.
- ^ "What's New in Hyper-V for Windows Server 2012 R2". Technet.microsoft.com. Archived from the original on 2016-06-03. Retrieved 2016-04-26.
- ^ "What's New in Hyper-V for Windows Server 2012 R2". Technet.microsoft.com. Archived from the original on 2016-06-03. Retrieved 2016-04-26.
- ^ "What's New in Hyper-V for Windows Server 2012 R2". Technet.microsoft.com. Archived from the original on 2016-06-03. Retrieved 2016-04-26.
- ^ "What's New in Hyper-V for Windows Server 2012 R2". Technet.microsoft.com. Archived from the original on 2016-06-03. Retrieved 2016-04-26.
- ^ "What's New in Hyper-V for Windows Server 2012 R2". Technet.microsoft.com. Archived from the original on 2016-06-03. Retrieved 2016-04-26.
- ^ "What's new in Hyper-V on Windows Server 2016". Docs.microsoft.com. Archived from the original on 2017-10-28. Retrieved 2017-10-27.
- ^ "Run Hyper-V in a Virtual Machine with Nested Virtualization". Docs.microsoft.com. Archived from the original on 2017-10-28. Retrieved 2017-10-27.
- ^ "What's new in Hyper-V on Windows Server 2016". Docs.microsoft.com. Archived from the original on 2019-01-13. Retrieved 2019-02-21.
- ^ "What's new in Windows Server 2019". Docs.microsoft.com. Archived from the original on 2019-03-27. Retrieved 2019-02-21.
- ^ "What's new in Windows Server 2022". learn.microsoft.com. 10 July 2024. Retrieved 2024-08-20.
- ^ "What's new in Windows Server 2025". learn.microsoft.com. Retrieved 2024-08-20.
Further reading
[edit]- "Hypervisor Top Level Functional Specification". Microsoft. 2016. Archived from the original on 2017-04-05. Retrieved 2017-04-04.
- Koens, Dimitri (2013). "Hyper-V Quick Reference" (PDF). Dimension IT TV. Archived (PDF) from the original on 2016-03-26. Retrieved 2017-04-04.
- Howard, John (2006). "WinHEC 2006 Presentation slides". Virtualization Blog. Microsoft. Archived from the original on 2015-12-20. Retrieved 2017-04-04.
- Radzikowski, Przemek (2009). "Benchmarking Hyper-V on Windows Server 2008 R2 x64". Archived from the original on 2017-04-23. Retrieved 2017-04-04.
- Posey, Brien; Zerger, Pete; Henley, Chris (2013). The Hands-on Guide: Understanding Hyper-V in Windows Server 2012. Veeam Software. Archived from the original on 2014-04-13. Retrieved 2017-04-04.
External links
[edit]Hyper-V
View on GrokipediaIntroduction
Overview
Hyper-V is a type-1 hypervisor developed by Microsoft that enables server virtualization by running directly on the host hardware, providing robust isolation and near-native performance for virtualized workloads. As a native component of the Windows ecosystem, it allows multiple operating systems to run simultaneously on a single physical server, abstracting hardware resources for efficient allocation to virtual machines (VMs).[1] First introduced on June 26, 2008, as part of Windows Server 2008, Hyper-V is integrated as an optional feature in Windows client operating systems like Windows 10 and Windows 11, and as a configurable server role across all editions of Windows Server, including the latest Windows Server 2025. This integration supports diverse deployment options, from on-premises environments to hybrid cloud setups, without requiring third-party software.[1][10] Primary use cases for Hyper-V include server consolidation to reduce physical hardware needs and costs, disaster recovery via VM replication and failover, isolated development and testing environments for software validation, and foundational infrastructure for private or hybrid clouds. These applications leverage Hyper-V's ability to maximize resource efficiency while maintaining workload separation.[1] Key benefits encompass hardware-enforced isolation to prevent interference between VMs and the host, live migration for seamless VM movement across hosts without service interruption, high availability through failover clustering to minimize downtime, and scalability to support thousands of VMs in enterprise-scale deployments. In terms of editions, Hyper-V functions primarily as a role-based component within licensed Windows Server installations, offering deployment flexibility tailored to organizational licensing and needs, with no separate standalone edition available in recent versions.[1][11]History and Development
Hyper-V's development began in the mid-2000s as Microsoft's "Viridian" project, a response to the growing dominance of virtualization platforms like VMware's ESX Server and the open-source Xen hypervisor, which were enabling server consolidation and dynamic IT environments.[12] The project aimed to deliver a native Type 1 hypervisor integrated into Windows, allowing Microsoft to offer competitive virtualization capabilities without relying on hosted solutions like Virtual Server 2005. Viridian was first publicly showcased at the Windows Hardware Engineering Conference (WinHEC) in May 2006, where Microsoft demonstrated its architecture and planned features for x86-64 systems.[13] The technology, renamed Hyper-V in 2007, made its debut on June 26, 2008, as part of Windows Server 2008, marking Microsoft's entry into bare-metal hypervisor markets.[10] A free standalone edition, Hyper-V Server 2008, followed in October 2008, providing a lightweight, dedicated hypervisor option without a full Windows Server license. Key early milestones included its integration into client operating systems with Windows 7 in October 2009, expanding Hyper-V's reach to desktop and development scenarios. Additionally, Hyper-V became foundational to Microsoft Azure's infrastructure, serving as the core hypervisor for virtual machines in the cloud platform launched in 2010.[14] To broaden compatibility, Microsoft shifted toward open-source contributions starting in 2009, submitting Hyper-V synthetic device drivers to the Linux kernel under the GPL and releasing Linux Integration Services for improved performance of Linux guests on Hyper-V hosts. In the 2020s, enhancements focused on hybrid cloud capabilities, such as Azure Arc integration, which enables centralized management of on-premises Hyper-V clusters and virtual machines through the Azure portal. Regarding editions, Microsoft announced in early 2024 that the free standalone Hyper-V Server would not receive a version aligned with Windows Server 2025, effective with the OS's release, thereby requiring full Windows Server licensing for new Hyper-V deployments.Deployment and Editions
Hyper-V Role in Windows Server
Hyper-V serves as a built-in role in Windows Server editions, enabling the operating system to function as a virtualization host for creating and managing virtual machines (VMs). To enable the Hyper-V role, administrators can use Server Manager, which provides a graphical interface to add roles and features during initial setup or post-installation. Alternatively, PowerShell offers a command-line method, such as executingInstall-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart, which installs the role along with management tools and restarts the server as needed.[15][15]
Licensing for the Hyper-V role is governed by Windows Server's core-based model, applicable to editions like Standard and Datacenter in Windows Server 2022 and 2025. The Hyper-V role is included at no additional cost in these editions, but the host server requires licensing based on physical cores, with a minimum of 16 cores per server (8 per processor). The Standard edition permits up to two VMs per license plus the Hyper-V host, while Datacenter allows unlimited VMs; there is no free standalone Hyper-V Server edition available after the 2019 version, which was discontinued.[16][1]
Once installed, basic configuration involves creating virtual switches to connect VMs to networks, which can be done through Hyper-V Manager by selecting New Virtual Network Switch and choosing external, internal, or private types based on connectivity needs. Adding VMs follows by launching Hyper-V Manager, selecting New > Virtual Machine, and specifying settings like generation type, memory, and storage. For high availability, initial failover cluster setup requires installing the Failover Clustering feature on multiple nodes via Server Manager or PowerShell (Install-WindowsFeature -Name Failover-Clustering -IncludeManagementTools), then using Failover Cluster Manager to validate and create the cluster, adding Hyper-V as a clustered role.[17][18][19]
In contrast to the discontinued standalone Hyper-V Server, which was a minimal, role-only OS without a full Windows Server license, the Hyper-V role integrates into the full Windows Server environment, allowing coexistence with other roles such as file services or Active Directory on the same host. However, for optimal performance and security, Microsoft recommends dedicating the server to the Hyper-V role alone to minimize resource contention.[20][1]
Hyper-V on Client Operating Systems
Hyper-V became available on client operating systems with the release of Windows 8 in 2012, where it was included as an optional feature in the Pro and Enterprise editions. Subsequent versions, including Windows 10 and Windows 11, extended support to Pro, Enterprise, and Education editions, allowing users to run virtual machines directly on desktop and laptop hardware for development and testing purposes. To install Hyper-V on these client editions, it can be enabled through the "Turn Windows features on or off" dialog in the Control Panel under Optional Features or via PowerShell by running the commandEnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All as an administrator, followed by a system restart.[15][1]
Client editions of Hyper-V impose specific constraints compared to the server role, primarily to suit non-enterprise environments. Virtual machines are limited in scale by host hardware and OS capabilities, with Hyper-V supporting up to 2,048 virtual processors and 240 TB of memory per Generation 2 VM in Windows 11 (aligned with Windows Server 2025 limits as of November 2024), though practical limits apply based on the host's resources (e.g., 2 TB maximum RAM for Windows 11 Pro). Earlier versions like Windows 8 supported up to 64 virtual processors and 512 GB RAM per VM.[9] Advanced enterprise features such as clustering for high availability and seamless live migration between hosts are not available, restricting operations to a single host without failover capabilities.[9]
Common use cases for Hyper-V on client operating systems include local software development, application testing, and simulating multi-machine environments on a single device. Nested virtualization, which allows running Hyper-V inside a virtual machine, has been supported since Windows 10 version 1511 (build 10586), enabling scenarios like testing hypervisor configurations or container orchestration tools without additional physical hardware. Management is handled through the Hyper-V Manager graphical interface for creating and configuring VMs or PowerShell cmdlets for scripting tasks such as VM provisioning and network setup.[21][22]
Architecture
Core Components
Hyper-V's core architecture revolves around several fundamental components that enable secure virtualization, efficient resource management, and hardware abstraction. At its foundation is the hypervisor layer, implemented as a kernel-mode driver named hvix64.exe (Intel) or hvax64.exe (AMD), which serves as the core execution engine responsible for enforcing isolation between virtual machines (VMs) and the host operating system by virtualizing processor and memory resources. This driver initializes the hypervisor, manages CPU scheduling, and handles low-level operations such as memory management to prevent interference between VMs.[23] The Virtual Machine Management Service (VMMS), implemented as the vmms.exe service, acts as the central management component for VM operations, overseeing the full lifecycle of VMs including creation, configuration, starting, stopping, and deletion. Running in the host's root partition, VMMS processes administrative commands from tools like Hyper-V Manager or PowerShell, maintains VM state information, and coordinates resource allocation across the system to ensure stability and scalability. It communicates with the hypervisor to execute these operations without direct exposure to guest workloads.[24][25] For virtual hardware, Hyper-V employs both emulated and synthetic devices to balance compatibility and performance. Emulated devices provide broad legacy support by software-simulating traditional hardware components, such as IDE disk controllers or serial ports, allowing unmodified guest operating systems to function without specialized drivers, though at the cost of higher overhead due to trap-and-emulate mechanisms. In contrast, synthetic devices leverage enlightened I/O, a paravirtualized approach that uses the VMBus—a high-speed communication channel between the guest and host—for optimized data transfer, bypassing full emulation for devices like network adapters and storage controllers to achieve near-native performance. This VMBus enables efficient, low-latency interactions by allowing guests to issue requests directly to host services rather than relying on emulated hardware traps.[24][26] Complementing these elements are the worker processes, each represented by an instance of vmwp.exe, which provide per-VM isolation and execution in user mode. One vmwp.exe process is spawned for every running VM, encapsulating the VM's runtime environment, managing its memory allocation, device interactions, and state transitions while the hypervisor handles privileged operations. This design enhances security and fault tolerance by confining VM-specific activities to isolated processes, preventing a failure in one VM from impacting others or the host.[27]Hypervisor Type and Partitioning
Hyper-V operates as a type-1, or bare-metal, hypervisor, which installs directly on the physical hardware without relying on a host operating system for its core functionality, thereby providing near-native performance and enhanced security isolation for virtualized workloads.[1] In this architecture, the hypervisor layer sits between the hardware and the operating systems, managing resource allocation and enforcing strict boundaries to prevent interference between virtual environments. Unlike type-2 hypervisors that run atop a general-purpose OS, Hyper-V's design minimizes overhead and maximizes control over hardware resources, making it suitable for enterprise-scale server virtualization.[24] Central to Hyper-V's design is its partition model, which divides the system into isolated units known as partitions. The root partition, hosting the management operating system (typically Windows Server), exclusively owns and controls the physical hardware, including processors, memory, and I/O devices, while coordinating access for other partitions.[28] Child partitions, which run the guest virtual machines, receive only virtualized representations of hardware and cannot directly interact with physical components; instead, they communicate with the root partition through the Virtual Machine Bus (VMBus), a high-performance communication channel for paravirtualized I/O operations, or via software emulation for legacy or non-enlightened devices.[29] This partitioning ensures that each virtual machine operates in a self-contained environment, with the hypervisor mediating all resource requests to maintain system stability and data integrity.[24] Hyper-V leverages hardware-assisted virtualization extensions to efficiently manage virtual machine states and memory. It requires processors supporting Intel VT-x (with Extended Page Tables, or EPT) or AMD-V (with Nested Page Tables, or NPT) to enable rapid context switches and secure memory isolation without excessive software intervention.[30] Specifically, EPT facilitates second-level address translation, allowing the hypervisor to map guest physical addresses to host physical addresses efficiently, while the Virtual Machine Control Structure (VMCS) on Intel platforms—or its AMD equivalent—stores and restores the complete state of a virtual processor during transitions between guest and hypervisor modes (VM entry and exit).[31] These mechanisms underpin Hyper-V's ability to handle multiple partitions seamlessly. The hypervisor enforces robust security isolation by design, prohibiting child partitions from direct hardware access and routing all interactions through controlled interfaces in the root partition. This architecture inherently mitigates risks such as hypervisor escapes, where a compromised guest might attempt to access host resources, as the hypervisor operates at a higher privilege level (ring -1) and validates all operations.[1] By confining guest execution to isolated memory spaces and virtual devices, Hyper-V prevents lateral movement between partitions, supporting secure multi-tenant environments in data centers.[24]System Requirements
Hardware Prerequisites
Hyper-V requires compatible physical hardware on the host system to enable virtualization features, including support for the type-1 hypervisor that runs directly on hardware. The minimum specifications ensure basic functionality, while recommended configurations support larger-scale deployments with multiple virtual machines (VMs). These prerequisites apply to Hyper-V implementations on Windows Server and compatible Windows client editions, with scalability limits varying by version.[30] The processor must be a 64-bit CPU compatible with virtualization extensions and second-level address translation (SLAT), which is required. Specifically, Intel processors require VT-x with Extended Page Tables (EPT), while AMD processors need AMD-V with Rapid Virtualization Indexing (RVI). Hardware virtualization must be enabled in the BIOS/UEFI firmware, and the system should support hardware-enforced Data Execution Prevention (DEP). A minimum clock speed of 1.4 GHz is required, though higher speeds are recommended for performance; Hyper-V supports up to 2,048 logical processors per host in Windows Server 2025, allowing scalability to 64 cores or more depending on the CPU architecture.[30][32][9] Host memory requirements start at a minimum of 4 GB of RAM to install and run the Hyper-V role, though at least 8 GB is advised when hosting VMs to allocate resources effectively between the host operating system and guests. More memory improves overall performance and capacity; for example, 16 GB or greater is recommended for production environments. Hyper-V supports dynamic memory allocation, enabling up to 240 TB per VM (Generation 2) in Windows Server 2025, with a total host memory limit of 4 PB in Datacenter editions (with 5-level paging).[30][32][9] Storage needs at least 32 GB of free disk space for the host operating system installation in Server Core mode, with additional space required for VM files such as virtual hard disks (VHD or VHDX formats). SSDs are recommended for I/O-intensive workloads to enhance VM performance. Hyper-V supports virtual disk capacities up to 64 TB per VHDX file, facilitating large-scale storage without physical hardware limitations beyond the host's capacity.[32][9] For optimal performance, backups, and reduced I/O contention on a Windows Server 2022 Hyper-V host, best practices recommend separating the operating system from VM storage by installing the OS on a smaller partition or drive (100–200 GB) and storing virtual hard disks (VHDX files), ISOs, and VM configurations on a separate volume or physical disk(s). If using a single physical disk, configure C: for the OS (100–200 GB) and D: or similar for VMs using the remainder, formatted as ReFS with a 64K allocation unit size for improved performance with large VHDX files. For multiple drives, use a small, fast SSD (240–500 GB) for the OS with RAID 1 for redundancy, and larger HDDs or SSDs for VM data configured in RAID 10 or Storage Spaces. Drives larger than 2 TB should use GPT partitioning. Deduplication can be enabled on ReFS volumes for VM storage to save space when necessary. Storage needs should be planned with growth in mind, overestimating requirements for VM files to accommodate expansion.[33][34][35][36][37] Networking hardware includes at least one physical Ethernet adapter to create virtual switches, with Gigabit Ethernet (1 Gbps) as the standard for adequate throughput in most setups. Multiple network interface cards (NICs) are supported for features like NIC teaming, which provides redundancy and increased bandwidth for virtual networks.[30][38]Software Prerequisites
Hyper-V requires specific host operating systems to function as a virtualization platform. On the server side, it is supported on Windows Server 2008 and later versions, including Standard and Datacenter editions, where it is installed as a server role.[15] For client operating systems, Hyper-V is available through the "Client Hyper-V" feature on Windows 10 and Windows 11 in Pro, Enterprise, and Education editions, but not on Home editions.[15] To enable Hyper-V, certain software features must be activated on the host. Data Execution Prevention (DEP), specifically hardware-enforced DEP, is required to prevent code execution in memory pages marked as non-executable, ensuring security for the hypervisor. The Hyper-V role (on Windows Server) or feature (on Windows client) must be explicitly turned on via Server Manager or Windows Features, respectively.[15] Licensing and edition differences impact the number of virtual machines (VMs) that can be run. The Standard edition of Windows Server allows up to two VMs per fully licensed physical host, suitable for lightly virtualized environments, while the Datacenter edition permits unlimited VMs on the licensed host, ideal for highly virtualized data centers.[1] Client Hyper-V editions are restricted to non-production use, such as development and testing, without full licensing for commercial VM deployment.[15] Maintaining the latest software updates is essential for Hyper-V security, stability, and feature compatibility. Hosts must have the most recent cumulative updates installed, as these address vulnerabilities and enable advanced capabilities like nested virtualization, which requires Windows Server 2016 or later (or Windows 10 version 1607 or later) and specific configuration via PowerShell.[39] For instance, nested virtualization support was enhanced in these updates to allow Hyper-V to run within a VM without additional KB patches beyond the base OS servicing.[21]Supported Guests
Windows Guests
Hyper-V provides robust support for Windows-based guest operating systems, enabling efficient virtualization of both server and client environments. Supported Windows Server guest versions include all editions starting from Windows Server 2008 and extending through Windows Server 2025.[40] For Windows client operating systems, support begins with Windows 7 and includes Windows 8, 8.1, 10, and 11, while older versions such as Windows XP and Windows Vista are accommodated through Generation 1 virtual machines with compatibility modes, though they lack full feature parity with modern guests and require manual installation of integration services.[40][41] Integration Services, also known as VM additions, enhance performance and integration between the host and Windows guests by providing synthetic drivers for components like the network adapter and SCSI controller, replacing emulated hardware for better efficiency. These services are installed via an ISO image mounted during guest setup or, in modern Windows versions such as Windows 10 and later, through automatic updates integrated into the operating system. Key services include the heartbeat service for monitoring guest responsiveness, time synchronization to align the guest clock with the host, and guest services for file copying without network dependency; all except the Guest Service Interface are enabled by default in supported Windows guests.[6][42] Windows guests in Hyper-V can be configured as Generation 1 or Generation 2 virtual machines, depending on the operating system and desired features. Generation 1 VMs emulate a traditional BIOS environment and support legacy Windows versions, including those predating Windows Server 2012, making them suitable for Windows XP, Vista, and early Server editions. Generation 2 VMs, introduced in Windows Server 2012, utilize UEFI firmware and support Secure Boot, offering improved security and performance for Windows Server 2012 and later, as well as Windows 8 and subsequent client versions; however, they are incompatible with pre-2012 guests.[43][44] Optimizations specific to Windows guests include precise time synchronization via the integration service, which mitigates drift in virtualized environments, and the heartbeat mechanism that allows the host to detect guest health issues proactively. Backup operations leverage Volume Shadow Copy Service (VSS) integration, enabling application-consistent snapshots for reliable data protection without downtime. In terms of resource allocation, Generation 2 VMs running Windows Server 2025 support up to 2,048 virtual processors and 240 TB of RAM, establishing scalability for demanding workloads while maintaining compatibility with host hardware limits.[6][4][9][45]Non-Windows Guests
Hyper-V provides robust support for non-Windows guest operating systems, particularly Linux and FreeBSD distributions, enabling their deployment as virtual machines with optimized performance through paravirtualized drivers and integration services.[46] Linux guests require kernels version 2.6 and later, with enhanced compatibility achieved via Linux Integration Services (LIS) version 4.3 or higher, which include drivers for Hyper-V-specific synthetic devices.[47] Certified distributions encompass Ubuntu 18.04 LTS and later (up to 24.04 LTS), Red Hat Enterprise Linux (RHEL) 8 and newer (including RHEL 9.x), and SUSE Linux Enterprise Server (SLES) 12 and subsequent releases, all validated for use on Hyper-V hosts running Windows Server 2025, 2022, 2019, and related client editions.[48][49][50] While modern Ubuntu versions include native kernel support for Hyper-V synthetic devices, additional user-space packages provide daemons and tools to enable full integration services, particularly for enhanced display support and resolution handling in the VM. For Ubuntu guests (including versions 20.04+ with built-in kernel support), install these packages to enable user-space daemons for features beyond basic kernel drivers:sudo apt update
sudo apt install linux-tools-virtual hyperv-daemons
sudo reboot
sudo apt update
sudo apt install linux-tools-virtual hyperv-daemons
sudo reboot