-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vm): Use generic model with explicit features for Discovery cpu type
- Add empty CPU model to libvirt cpumap. - Use new CPU model name instead of HostModel, so kubevirt set custom mode for cpu in the libvirt domain. - Add patch to generate Pod without cpu-model node selector for new CPU model. Signed-off-by: Ivan Mikheykin <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Empty model for generic CPU. DVP will add features explicitly. --> | ||
<cpus> | ||
<model name='Deckhouse-Virtualization-Platform-Generic'> | ||
<decode host='on' guest='on'/> | ||
</model> | ||
</cpus> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters