1.    19 Apr 2016 #1

    KVM Host --W10 VM with HYPER -V running another VM (Nesting)


    Hi there.

    It seems some CPU's will handle HYPER-V in a VM running on a Host where a HYPERVISOR (KVM in this case) is already running.
    One needs to make a few mods otherwise booting up the VM running UNDER the HYPER-V (the 2nd level VM) will freeze.

    I'm currently playing with this -- it looks like some modules from QEMU need to be updated -- and one needs to use IOMMU to get any sort of decent I/O throughput - even on SSD's.

    I'll post back when I've got some better results -- note I haven't a CLUE about AMD CPU's . I think also getting USB and SOUND on to the second level VM could be a problem. PCI passthru is pretty easy from the KVM Host to the Windows VM (ist level) but passing that to the second level VM is proving somewhat problematical.

    (HOST --CENTOS 7 with KVM, ist level VM W10 pro with HYPER-V enabled, second level VM W7 ultimate -- all x-64 machines).

    I believe also performance can be improved by switching from Full virtualisation to "Para virtualision" on the guests -- easily enough done with settings in KVM - but then passthru gets a bit ????.

    Anyway I've got some time to play with all this --when I'm done I'll post a guide. It should work also for most other common Linux distros capable of running KVM.

    Tip - don't use the libvirt manager GUI as a console for your VM's as once in Full screen you can't always get back to Windowed mode -- might be my mouse etc. Use RDP / VNC instead -- no problem connecting to VM's even if you are running the VM's on your local machine.

    Cheers
    jimbo
      My System SpecsSystem Spec


  2. Joined : Apr 2016
    Posts : 1
    windows
       23 Apr 2016 #2

    Hyper-V on Ubuntu


    Hi.

    I'll be trying something similar out.
    With Hyper-V on Ubuntu 14.04
    Need some help to get it working.

    Can you please mention the modifications/updations that are needed?
    The guide would be really helpful.

    Thanks,
    indu.
      My System SpecsSystem Spec

  3.    23 Apr 2016 #3

    indu119 said: View Post
    Hi.

    I'll be trying something similar out.
    With Hyper-V on Ubuntu 14.04
    Need some help to get it working.

    Can you please mention the modifications/updations that are needed?
    The guide would be really helpful.

    Thanks,
    indu.

    Hi there

    I'll have a go with this over the weekend -- not doing much else this weekend so I've got a bit of time.
    It should work on UBUNTU as well -- note enable VTX on your CPU or it won't work.

    Cheers
    jimbo
      My System SpecsSystem Spec


  4. Joined : May 2016
    Posts : 1
    Windows 10
       04 May 2016 #4

    Hyper-V on Ubuntu 14.04


    Hi,

    I would be interested in your guide too.

    I have KVM with nested virtualization enabled running on Ubuntu 14.04, and a Windows Server 2012 R2 guest.
    But in the guest, the command line
    Code:
    wmic cpu get VirtualizationFirmwareEnabled
    returns false

    Thanks.
      My System SpecsSystem Spec


  5. Joined : Apr 2016
    Posts : 1
    Windows 2012 R2
       16 Jul 2016 #5

    Hi,

    I would also like to try this on Ubuntu 14.04
    Can you please let me know how to get it working.
    You mentioned that some modules of QEMU needs to be updated.
    Any details on how to get this working will be helpful

    Regards,
    Sagar

    jimbo45 said: View Post
    Hi there.

    It seems some CPU's will handle HYPER-V in a VM running on a Host where a HYPERVISOR (KVM in this case) is already running.
    One needs to make a few mods otherwise booting up the VM running UNDER the HYPER-V (the 2nd level VM) will freeze.

    I'm currently playing with this -- it looks like some modules from QEMU need to be updated -- and one needs to use IOMMU to get any sort of decent I/O throughput - even on SSD's.

    I'll post back when I've got some better results -- note I haven't a CLUE about AMD CPU's . I think also getting USB and SOUND on to the second level VM could be a problem. PCI passthru is pretty easy from the KVM Host to the Windows VM (ist level) but passing that to the second level VM is proving somewhat problematical.

    (HOST --CENTOS 7 with KVM, ist level VM W10 pro with HYPER-V enabled, second level VM W7 ultimate -- all x-64 machines).

    I believe also performance can be improved by switching from Full virtualisation to "Para virtualision" on the guests -- easily enough done with settings in KVM - but then passthru gets a bit ????.

    Anyway I've got some time to play with all this --when I'm done I'll post a guide. It should work also for most other common Linux distros capable of running KVM.

    Tip - don't use the libvirt manager GUI as a console for your VM's as once in Full screen you can't always get back to Windowed mode -- might be my mouse etc. Use RDP / VNC instead -- no problem connecting to VM's even if you are running the VM's on your local machine.

    Cheers
    jimbo
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
No full screen console in Windows XP running as Hyper-V guest
I have an old DOS program that runs fine in a console window under native Windows XP. I've setup a shortcut on the XP machines and selected full screen. When the application runs it opens full screen. On a Windows 10 with a Hyper-V instance of...
Virtualization
Hyper-V Hypervisor not running - can't remove Hyper-V feature
I am using Windows 10 Insider Preview 11082 (upgraded from Windows 1151 fully updated. I had installed the Hyper-V feature in the latest Windows 1151 but had not used it before I received and installer the Insider Preview edition. The...
Virtualization
Solved Running Hyper-V and VMware on the same machine?
As the title indicated, anybody tried running both successfully on Win 10? I've seen people doing that on Win 8 forum( Solved Hyper V and VMWare on the same machine - Page 2 ), so I'm wondering if this method would work on Win 10... Any...
Virtualization
HYPER-V won't install properly on W10 HOST
Hi there I can't install HYPER-V properly on a W10 HOST -- gets message about something in BIOS not enabled. Installs fine on W8.1 . On W10 the boxes are greyed out. Cheers jimbo
Virtualization
HYPER-V won't install properly on W10 HOST
Network and Sharing
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 08:53.
Find Us
Twitter Facebook Google+



Windows 10 Forums