KVM nested virtualization Configuration
(1) check that the virtual machine A does not support virtualization. Run the lscpu command.
Virtualization is not supported because there is no VT-X identifier
(2) Enable the nested support on the Physical Machine
# Check whether the current physical machine supports nested
Cat/sys/module/kvm_intel/parameters/nested
N # Not Supported
# Enable the physical machine to support nested
Echo "options kvm-intel nested = 1">/etc/modprobe. d/kvm-intel.conf
# Host restart or execution
# Rmmod kvm-intel
# Modprobe kvm-intel nested = 1
# Check whether it is supported after restart
Cat/sys/module/kvm_intel/parameters/nested
Y # changed to Y. Supported
(3) modify the virtual machine to support virtualization on the Physical Machine
# Search for UUID
# View the UUID of the VM
[Root @ bkjia ~] # Virsh list -- all | grep 313d634ad72247ee938
10 313d634ad72247ee9425a3038515829 running
# VM Shutdown
Init 0
# Modifying the virtual machine configuration file on a physical machine
Virsh edit 313d634ad72247ee9%a30%15829
Add the following content to </features>:
<Cpu mode = 'custom' match = 'extract'>
<Model fallback = 'allow'> core2duo </model>
<Vendor> Intel </vendor>
<Feature policy = 'require 'name = 'lahf _ lm '/>
<Feature policy = 'require 'name = 'xtpr '/>
<Feature policy = 'require 'name = 'cx16'/>
<Feature policy = 'require 'name = 'tm2'/>
<Feature policy = 'require 'name = 'est '/>
<Feature policy = 'require 'name = 'vmx'/>
<Feature policy = 'require 'name = 'pbe'/>
<Feature policy = 'require 'name = 'TT'/>
<Feature policy = 'require 'name = 'ht '/>
<Feature policy = 'require 'name = 'ss'/>
<Feature policy = 'require 'name = 'acpi '/>
<Feature policy = 'require 'name = 'ds'/>
</Cpu>
Save
# Start the VM on the Physical Machine
Virsh start 313d634ad72247ee9%a30%15829
# Check whether the VM is supported
-------------------------------------- Split line --------------------------------------
How to add a hard disk for a Linux Virtual Machine in KVM
Getting started with Linux: KVM for Virtual Machine experience
RHEL6 KVM virtualization creates a bridge NIC-Bridge
RedHat Linux KVM Virtual Machine bridging
Installation/bridging settings of KVM in CentOS 5.6/virtual machine creation and operation
The/bin/qemu-KVM problem cannot be found when the kvm virtual machine is installed with libvirt In Ubuntu.
Install and configure the KVM Virtual Machine in RedHat6.5
Nested virtualization nested for KVM Virtualization
-------------------------------------- Split line --------------------------------------
This article permanently updates the link address: