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??
_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to