Hyper-V Generation 1 ve Generation 2 Farkları

Hyper-V üzerinde sanal makine oluştururken bizden seçmemiz istenen 2 nesil arasındaki farklar nelerdir bundan bahsedeceğim.

Generation 1

32-bit ve 64-bit işletim sistemlerini destekler ve Hyper-V’nin önceki sürümlerinin hepsinde kullanabilir olan sanal donanımları sağlar.

Generation 2

Daha yeni sanallaştırma özelliklerini destekler. UEFI tabanlı yazılım mevcut ve sadece 64-bit işletim sistemlerinde çalışır.

Hangi İşletim Sistemleri Destekleniyor?

  • Windows
  • CentOS and Red Hat Enterprise Linux
  • Debian
  • FreeBSD
  • Oracle Linux
  • SUSE
  • Ubuntu

Windows İşletim Sistemi Desteği

64-bit versions of WindowsGeneration 1Generation 2
Windows Server 2019✔✔
Windows Server 2016✔✔
Windows Server 2012 R2✔✔
Windows Server 2012✔✔
Windows Server 2008 R2✔✖
Windows Server 2008✔✖
Windows 10✔✔
Windows 8.1✔✔
Windows 8✔✔
Windows 7✔✖

CentOS and Red Hat Enterprise Linux

Operating system versionsGeneration 1Generation 2
RHEL/CentOS 7.x series✔✔
RHEL/CentOS 6.x series✔✔
Not: Sadece Windows Server 2016 ve üzeri.
RHEL/CentOS 5.x series✔✖

Debian

Operating system versionsGeneration 1Generation 2
Debian 7.x series✔✖
Debian 8.x series✔✔

FreeBSD

Operating system versionsGeneration 1Generation 2
FreeBSD 10 and 10.1✔✖
FreeBSD 9.1 and 9.3✔✖
FreeBSD 8.4✔✖

Oracle Linux

Red Hat Compatible Kernel Series versionsGeneration 1Generation 2
Oracle Linux 7.x series✔✔
Oracle Linux 6.x series✔✖

Suse

Operating system versionsGeneration 1Generation 2
SUSE Linux Enterprise Server 12 series✔✔
SUSE Linux Enterprise Server 11 series✔✖
Open SUSE 12.3✔✖

Ubuntu

Operating system versionsGeneration 1Generation 2
Ubuntu 14.04 and later versions✔✔
Ubuntu 12.04✔✖

Boot Yöntemleri

Boot methodGeneration 1Generation 2
PXE boot by using a standard network adapter✖✔
PXE boot by using a legacy network adapter✔✖
Boot from a SCSI virtual hard disk (.VHDX) or virtual DVD (.ISO)✖✔
Boot from IDE Controller virtual hard disk (.VHD) or virtual DVD (.ISO)✔✖
Boot from floppy (.VFD)✔✖

Generation 2 Sanal Makine Kullanmanın Avantajları

  • Secure Boot
    Secure boot desteği. Generation 2 makinelerde varsayılan olarak etkin gelmektedir.
  • Larger boot volume
    Daha büyük disk boyutu. Generation 2 makineler için disk boyutu 64TB’dir. VHDX formatı için maksimum disk boyutudur. Generation 1 makineler de VHDX için maksimum disk boyutu 2TB’dir.

Cihaz Desteğindeki Farklar Nelerdir?

Generation 1 DeviceGeneration 2 ReplacementGeneration 2 Enhancements
IDE controllerVirtual SCSI controllerBoot from .vhdx (64 TB maximum size, and online resize capability)
IDE CD-ROMVirtual SCSI CD-ROMSupport for up to 64 SCSI DVD devices per SCSI controller.
Legacy BIOSUEFI firmwareSecure Boot
Legacy network adapterSynthetic network adapterNetwork boot with IPv4 and IPv6
Floppy controller and DMA controllerNo floppy controller supportN/A
Universal asynchronous receiver/transmitter (UART) for COM portsOptional UART for debuggingFaster and more reliable
i8042 keyboard controllerSoftware-based inputUses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system.
PS/2 keyboardSoftware-based keyboardUses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system.
PS/2 mouseSoftware-based mouseUses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system.
S3 videoSoftware-based videoUses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system.
PCI busNo longer requiredN/A
Programmable interrupt controller (PIC)No longer requiredN/A
Programmable interval timer (PIT)No longer requiredN/A
Super I/O deviceNo longer requiredN/A