Hyper-V generation 2 VMs
Initial discussion (Juno design summit): https:/
Hyper-V Server 2012 R2 introduces a new feature for virtual machines named "generation 2" [1], consisting mainly in a new firmware and better support for synthetic devices.
Main advantages:
* secureboot support
* reduced boot time
* support for live resize of boot disks
* virtual devices completely synthetic (no emulation)
* UEFI firmware in place of BIOS
The Hyper-V compute driver will create a generation 2 VM based on a property defined in the instance image, defaulting to generation 1.
Operating systems supporting generation 2:
* Windows Server 2012 / Windows 8 and above
* Newer Linux kernels
The image must be in VHDX format. The compute driver will revert to generation 1 if the image format is VHD, generating a warning.
Generation 2 VMs don't support IDE devices, which means that local boot and ephemeral disks must be attached as SCSI, while retaining IDE support for generation 1 (where SCSI boot is not supported).
The Nova support for this feature is entirely contained in the compute driver, no changes are required in other Nova components.
Proposed image property to identify the desired generation and related values:
hw_machine_
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- Alessandro Pilotti
- Direction:
- Approved
- Assignee:
- Claudiu Belu
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
-
Implemented
- Milestone target:
-
2015.1.0
- Started by
- Alessandro Pilotti
- Completed by
- Alessandro Pilotti
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Spec for Hyper-V generation 2 VMs
You should not set a milestone target unless the blueprint has been properly prioritized by the project drivers.
(This is an automated message)
Gerrit topic: https:/
Addressed by: https:/
Fixes Hyper-V agent IDE/SCSI related refactoring
Addressed by: https:/
Adds Hyper-V generation 2 VMs implementation
XenServer has a similar hardware type concept, it would be great to reuse that. Libvirt also has some virtual hardware description properties. --johnthetubuaguy (8th October 2014)
Cool, thanks for the extra info. Given the new kilo rules, we can approve this now. --johnthetubaguy (8th October 2014)
Addressed by: https:/
Adds extra_resources to scheduler HostStats class
Addressed by: https:/
Adds scheduler compute extra_resources filter
Not enough positive reviews on this code for it to make kilo-1, moving to kilo-2 --johnthetubaguy 17th December 2014
Addressed by: https:/
Hyper-V: Fixes reported hypervisor version
Gerrit topic: https:/
Gerrit topic: https:/
Work Items
Dependency tree

* Blueprints in grey have been implemented.