[libvirt-users] xml config nested

放牛班的春天 446844717 at qq.com
Thu Jan 5 03:44:29 UTC 2017


How to configure libvirt, so qemu-kvm support nested virtualization, virtual machine installed operating system is windows_7_ultimate_sp1_x64_dvd_618537.iso, configure libvirt xml file is as follows:

 <cpu mode='custom' match='exact'>
    <model fallback='allow'>core2duo</model>
    <feature policy='require' name='vmx'/>
  </cpu>


or

  <cpu mode='host-model'>
    <model fallback='allow'/>
  </cpu>

or
 <cpu mode='host-passthrough'>
    <topology sockets='2' cores='2' threads='2'/>
  </cpu>

We install libvirt in centos 7, qemu-kvm version is:

[Root @ localhost libexec] # ./qemu-kvm --version

QEMU emulator version 2.6.0 (qemu-kvm-ev-2.6.0-27.1.el7), Copyright (c) 2003-2008 Fabrice Bellard

Above is the basic environment and libvirt configuration, but in this environment to install the internal implementation of the following windows7 virtual machine kernel interface calls are as follows:

	if (!FeatrueControlMsr.fields.enable_vmxon)

	{

		MyWriteFile(FileHanle, "Bios设置没有开启虚拟化\n", strlen("Bios设置没有开启虚拟化\n"), &ReturnLen);

		MyCloseFile(FileHanle);

		KdPrint(("Bios设置没有开启虚拟化"));

		return FALSE;



	}




in conclusion:

Through this kernel interface to determine the result is: Bios settings do not turn on virtualization

How to solve this problem? Hope to get your help.

thank you very much。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170105/c116d73b/attachment.htm>


More information about the libvirt-users mailing list