Results 1 to 5 of 5

Thread: KVM nested virtualization on intel

  1. #1
    Join Date
    Oct 2010
    Beans
    5
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Post KVM nested virtualization on intel

    Hi there,

    i want to give nested virtualization a try for developing purposes and tried this already on a laptop with AMD X2 processor and got it working.

    Now I have tried this on my NAS with Intel Core2Duo processor the same way:

    I wrote a wrapper kvm.nested
    Code:
    #!/bin/bash
    exec /usr/bin/kvm -enable-nesting "$@"
    and change the emulator in guest xml

    Code:
    <emulator>/usr/bin/kvm.nested</emulator>
    Add two rules two the apparmor files for libvirt to grant permission to the script.

    The virtual machine starts without any problems, but checking /proc/cpuinfo there is no vmx available.

    I already tried to modify the cpu by modifying the wrapper to:
    Code:
    exec /usr/bin/kvm -enable-nesting -cpu qemu64,+vmx "$@"
    and
    exec /usr/bin/kvm -enable-nesting -cpu host "$@"
    But there is still no vmx available in the virtual machine. Any ideas ?

  2. #2
    Join Date
    Oct 2010
    Beans
    5
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: KVM nested virtualization on intel

    The answer is easy and sobering. There ist no support for nested virtualization with intel vmx in the current version of kvm in the Ubuntu repositories. With the newest patches for kvm it is possible, but there are still in development . The 29th patch was described at the KVM mailing list two days ago. (January 27th, 2011)

    So I let them a bit more time, but the support will come

  3. #3
    Join Date
    Oct 2009
    Beans
    5

    Re: KVM nested virtualization on intel

    Sorry for the kick, but the nested VT-x support is currently in the GIT repo now. It is still early, so expect some issues.

    Nevermind, is there a ppa or so with have that deb?

  4. #4
    Join Date
    Apr 2013
    Beans
    1

    Re: KVM nested virtualization on intel

    While the system boots...

    Go to settings-> processor settings -> Virtualizaition support ->Enable


    After installing the VPC in the base server.

    1. virt-manager

    2. open the hypervisor virtual machine, go to Details > Processor

    1. unfold the "Configuration"
    2. press the "Copy host CPU configuration" button
    3. unfold the "CPU Features"
    4. verify the "vmx" feature is set to "require" press Apply



    Which this will help you...! Feel free to reply back if u wont understand.!

  5. #5
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    16,797
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: KVM nested virtualization on intel

    Thread closed. Please do not post in old threads.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •