Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. $ cat /etc/modprobe.d/qemu-system-x86.conf
  2. options kvm_intel nested=1
  3.  
  4. $ cat /sys/module/kvm_intel/parameters/nested
  5. Y
  6.  
  7. # echo "Number of processors that support KVM: $(grep -Ec "(vmx|svm)" /proc/cpuinfo)"
  8. Number of processors that support KVM: 2
  9.  
  10. # lscpu | grep "Virtualization|Hypervisor"
  11. Virtualization: VT-x
  12. Hypervisor vendor: KVM
  13. Virtualization type: full
  14.  
  15. # lsmod | grep -i kvm
  16. kvm_intel 170181 0
  17. kvm 554609 1 kvm_intel
  18. irqbypass 13503 1 kvm
  19.  
  20. # 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"
  21. ERROR Host does not support any virtualization options
  22.  
  23. # virt-install --prompt
  24. WARNING --prompt mode is no longer supported.
  25. ERROR Host does not support any virtualization options
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement