On Tue, 2024-02-20 at 12:22 +0000, Eugen Block wrote:
Hi,
the docs [1] contain a couple of steps, have you tried those?
# check current state cat /sys/module/kvm_intel/parameters/nested
Temporarily remove the KVM intel Kernel module, enable nested virtualization to be persistent across reboots and add the Kernel module back:
sudo rmmod kvm-intel sudo sh -c "echo 'options kvm-intel nested=y' >> /etc/modprobe.d/dist.conf" sudo modprobe kvm-intel
# verify cat /sys/module/kvm_intel/parameters/nested Y
nested vert is also enabeld by default in the kernel now
[1] https://docs.openstack.org/devstack/latest/guides/devstack-with-nested-kvm.h...
Zitat von KK CHN <kkchn.in@gmail.com>:
I am running an ubuntu VM (instance 22.04) on Esxi 7.0 virtualized platform.
in general in the past it was not possible run kvm on esxi you coudl only do kvm on kvm i know there was some work to make it work with hyperv at one point but i dont know if kvm on vmware is actully supproted by the kernel.
I am trying to create Linux cloud images on this ubuntu VM by installing virt-manager ..
Reference: https://kifarunix.com/create-and-upload-custom-linux-image-into-openstack/?e...
But on my VM when I execute
grep -iE 'vmx|svm' /proc/cpuinfo Returns 0 //means not CPU virtualization enabled ?
modprobe: FATAL: Module l not found in directory /lib/modules/5.15.0-25-generic root@ubuntu-VM:/home/ubuntu# lscpu |grep Virtualization Virtualization type: full
root@ubuntu-VM:/home/ubuntu# root@ubuntu-VM:/home/ubuntu# grep -iE 'vmx|svm' /proc/cpuinfo root@ubuntu-VM:/home/ubuntu# grep -c '(vmx|svm)' /proc/cpuinfo
root@ubuntu-VM:/home/ubuntu# grep -iE 'vmx|svm' /proc/cpuinfo root@ubuntu-VM:/home/ubuntu# root@ubuntu-VM:/home/ubuntu#
How can I enable the virtualization support on this VM ?? What to do for Nested Virtualization support in this Virtual Machine ?
Any hints welcome.
Thank you Krish