[PVE-User] Win10/Hyper-V in VM

Holger Hampel | RA Consulting h.hampel at rac.de
Sun May 5 17:53:14 CEST 2019


Hello,

the last success was due to a change I adopted from the internet:

args: -cpu host,+vmx

With this, the VM started, but there were other problems, like unclean shutdowns. So I added the cpu features I greped from "ps". Then the problem returned but not on every start.

This is the cpu feature list generated by Proxmox:

-cpu host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_synic,hv_stimer

When I skip "hv_synic" the VM boots reliable and the Hyper-V manager connects to the local daemon. Adding it again, it may work for a few reboots but sometime start to fail.

Regards
Holger Hampel

-----Ursprüngliche Nachricht-----
Von: pve-user <pve-user-bounces at pve.proxmox.com> Im Auftrag von Holger Hampel | RA Consulting
Gesendet: Freitag, 3. Mai 2019 10:56
An: PVE User List <pve-user at pve.proxmox.com>
Betreff: Re: [PVE-User] Win10/Hyper-V in VM

Hello Ian,

thank you for reply. You are right, I didn't checked the page before. But I think I missed to put it into clear words: I used Proxmox as guest (with VMs) on this server before. So the server and a linux guest passed all checks on this page.

But ...
After the checks all works fine!
I don't have /etc/modprobe.d/kvm-intel.conf But "cat /sys/module/kvm_intel/parameters/nested" returns "Y".

I will do some test (with reboots) at the weekend.

Kind regards
Holger Hampel


-----Ursprüngliche Nachricht-----
Von: pve-user <pve-user-bounces at pve.proxmox.com> Im Auftrag von Ian Coetzee
Gesendet: Freitag, 3. Mai 2019 07:29
An: PVE User List <pve-user at pve.proxmox.com>
Betreff: Re: [PVE-User] Win10/Hyper-V in VM

Hi Holger,

Have you had a look at

https://pve.proxmox.com/wiki/Nested_Virtualization

yet?

I have used this in the past to simulate a proxmox cluster on one proxmox hypervisor (purely for research), it worked for me, I could run vm's on the hypervisor vm's.

Kind regards

On Thu, 2 May 2019 at 16:48, Holger Hampel | RA Consulting <h.hampel at rac.de>
wrote:

> Hello,
>
> we want to build docker images on a build server running Win10Pro. 
> When activating the Hyper-V feature the VM end in a boot loop.
>
> According to
>
>
> https://docs.microsoft.com/de-de/windows-server/virtualization/hyper-v
> /What-s-new-in-Hyper-V-on-Windows#BKMK_nested
>
> https://docs.microsoft.com/de-de/virtualization/hyper-v-on-windows/use
> r-guide/nested-virtualization
>
> it should be possible since about three years.
>
> The server has an Intel Xeon Prozessor E5-2620 and a Proxmox VM with 
> VMs work. Proxmox ist up to date.
>
> Has someone succeeded using  Hyper-V in a Proxmox-VM?
>
> Regards
> Holger Hampel
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


More information about the pve-user mailing list