apache / apache/cloudstack

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

オープン
#7,600 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
component:agent component:kvm type:config type:new-feature
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

##### 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 `` 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Issue の custom compute offering proposal と参照されている cluster-template.yaml から始め、続いてリンク先の libvirt CPU model と topology のドキュメントを確認します。別の VM が同じ KVM host 上で host-passthrough モードなしに実行できる一方で、nested virtualization を offering または guest ごとに選択できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, kubernetes
領域
cloud, infrastructure
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。