I have ubuntu server 14.04.4 kernel 3.13.0-91-generic with kvm setup
I am trying to get nested virtualization to work
I have enabled nested on kernel boot by editing
/etc/default/grub
and adding
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on kvm-intel.nested=1"
The line
kvm-intel.nested=1 enables nesting
then run
update-grub
then reboot
I check this worked by
# cat /sys/module/kvm_intel/parameters/nested
Y
or
# systool -m kvm_intel -v | grep -i nested
nested = "Y"
#
This worked
I create a vm and the edited the xml file adding in cpu section
<cpu mode='host-passthrough'>
<feature policy='require' name='vmx'/>
</cpu>
I then booted and in windows server 2016 ver 5 i checked that vmx was enabled by running
coreinfo
and it is
before it was enabled the setup in microsoft server would complain about vmx not enable and it does not complain now
The problem is now server 2016 preview 5 is reporting error
Hyper-V cannot be installed because virtualization support is not enabled in the BIOS
I cant find any info about this and seabios
I suspect seabios is reporting incorrect info to windows
Is there any setting I can change in seabios
Has anybody any info on this or suggestion .I would like to play with windows server 2016 hypervisor im afraid and enabling this would be handy.I still have to learn windows stuff
see error below in windows
![]()
I am trying to get nested virtualization to work
I have enabled nested on kernel boot by editing
/etc/default/grub
and adding
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on kvm-intel.nested=1"
The line
kvm-intel.nested=1 enables nesting
then run
update-grub
then reboot
I check this worked by
# cat /sys/module/kvm_intel/parameters/nested
Y
or
# systool -m kvm_intel -v | grep -i nested
nested = "Y"
#
This worked
I create a vm and the edited the xml file adding in cpu section
<cpu mode='host-passthrough'>
<feature policy='require' name='vmx'/>
</cpu>
I then booted and in windows server 2016 ver 5 i checked that vmx was enabled by running
coreinfo
and it is
before it was enabled the setup in microsoft server would complain about vmx not enable and it does not complain now
The problem is now server 2016 preview 5 is reporting error
Hyper-V cannot be installed because virtualization support is not enabled in the BIOS
I cant find any info about this and seabios
I suspect seabios is reporting incorrect info to windows
Is there any setting I can change in seabios
Has anybody any info on this or suggestion .I would like to play with windows server 2016 hypervisor im afraid and enabling this would be handy.I still have to learn windows stuff
see error below in windows