Skip to content

feat: nested virtualization support per guest on the same kvm host #7600

Description

@lukasmrtvy
ISSUE TYPE
  • Feature Idea
DESCRIPTION

As a CS user, I would like to be able to create a Guest / VM with guest.cpu.mode=host-passtrough and also a second VM without guest.cpu.mode passtrough on the same KVM host, that's not possible, because guest.cpu.mode is applied to the KVM host globally.

PROPOSAL

Custom compute offering large.metal ( similar to flavors in AWS with nested virtualization capability ) when one can set allow.additional.vm.configuration.list.kvm ( https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/ ), probably doable with <cpu mode='host-passthrough' migratable='off'></cpu> XML snippet ( see for more info https://libvirt.org/formatdomain.html#cpu-model-and-topology ) or with simple tick-checkbox for enabling nested virtualization.

It's important to have this ability directly on the offering to support for example CloudStack CAPI implementation, here https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/blob/main/templates/cluster-template.yaml#L72

Activity

  1. added this to the 4.19.0.0 milestone on Jun 22, 2023
  2. modified the milestones: 4.20.0.0, 4.21.0.0 on Sep 10, 2024
  3. 5 remaining items

  4. added this to the 4.22.0 milestone on Jul 11, 2025
  5. modified the milestones: 4.22.1, 4.23.0 on Apr 24, 2026
  6. modified the milestones: 4.23.0, 4.24.0 on Jun 29, 2026
  7. modified the milestones: 24.0, 25.0 on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions