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 Windows | Generation 1 | Generation 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 versions | Generation 1 | Generation 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 versions | Generation 1 | Generation 2 |
| Debian 7.x series | ✔ | ✖ |
| Debian 8.x series | ✔ | ✔ |
FreeBSD
| Operating system versions | Generation 1 | Generation 2 |
| FreeBSD 10 and 10.1 | ✔ | ✖ |
| FreeBSD 9.1 and 9.3 | ✔ | ✖ |
| FreeBSD 8.4 | ✔ | ✖ |
Oracle Linux
| Red Hat Compatible Kernel Series versions | Generation 1 | Generation 2 |
| Oracle Linux 7.x series | ✔ | ✔ |
| Oracle Linux 6.x series | ✔ | ✖ |
Suse
| Operating system versions | Generation 1 | Generation 2 |
| SUSE Linux Enterprise Server 12 series | ✔ | ✔ |
| SUSE Linux Enterprise Server 11 series | ✔ | ✖ |
| Open SUSE 12.3 | ✔ | ✖ |
Ubuntu
| Operating system versions | Generation 1 | Generation 2 |
| Ubuntu 14.04 and later versions | ✔ | ✔ |
| Ubuntu 12.04 | ✔ | ✖ |
Boot Yöntemleri
| Boot method | Generation 1 | Generation 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 Device | Generation 2 Replacement | Generation 2 Enhancements |
| IDE controller | Virtual SCSI controller | Boot from .vhdx (64 TB maximum size, and online resize capability) |
| IDE CD-ROM | Virtual SCSI CD-ROM | Support for up to 64 SCSI DVD devices per SCSI controller. |
| Legacy BIOS | UEFI firmware | Secure Boot |
| Legacy network adapter | Synthetic network adapter | Network boot with IPv4 and IPv6 |
| Floppy controller and DMA controller | No floppy controller support | N/A |
| Universal asynchronous receiver/transmitter (UART) for COM ports | Optional UART for debugging | Faster and more reliable |
| i8042 keyboard controller | Software-based input | Uses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system. |
| PS/2 keyboard | Software-based keyboard | Uses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system. |
| PS/2 mouse | Software-based mouse | Uses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system. |
| S3 video | Software-based video | Uses fewer resources because there is no emulation. Also reduces the attack surface from the guest operating system. |
| PCI bus | No longer required | N/A |
| Programmable interrupt controller (PIC) | No longer required | N/A |
| Programmable interval timer (PIT) | No longer required | N/A |
| Super I/O device | No longer required | N/A |