QEMU-KVM: Can't virtualize in nested hypervisor with error: ERROR Host does not support any virtualization options
I have a qemu-kvm hypervisor in Ubuntu (Level 0) with a CentOS 7 as a VM (Level 1), which I also installed QEMU-KVM, turning it into another hypervisor, where I intend to have Arch as a VM (Level 2). My CentOS 7 (Level 1) seems to be working fine.
I activated nested virtualization in my Hypervisor (Level 0): Code:
$ cat /etc/modprobe.d/qemu-system-x86.conf Code:
# echo "Number of processors that support KVM: $(grep -Ec "(vmx|svm)" /proc/cpuinfo)" Code:
# virt-install --name=Nested-Arch --vcpus=1 --ram=512 --os-type=linux --os-variant=virtio26 --nographics --description "Arch Linux inside CentOS inside Ubuntu (Nesting)" --network bridge=virbr0,model=virtio --disk path=/var/lib/libvirt/images/guest.img,size=32 --cdrom=/root/Downloads/archlinux-2016.09.03-dual.iso --extra-args="console=tty0 console=ttyS0,115200n8 serial" |
Is --os-variant=virtio26 valid? On my hypervisor (Fedora 28), it doesn't exist:
Code:
$ osinfo-query os|grep virtio |
Thank you so much
|
All times are GMT -5. The time now is 08:09 PM. |