Hyper-V Enlightenments - KVM on x86 implements Hyper-V Enlightenments for Windows guests

itNGO

Renowned Member
Jun 12, 2020
822
193
68
46
Germany
it-ngo.com
Hallo,

vielleicht kann mich dazu jemand erleuchten.
QEMU unterstützt also eine art "Emulation" um Windows Gäste glauben zu lassen, sie würden unter HyperV laufen.

Ist das in PVE eingebaut? Ist es geplant das als "Option" in der GUI zu ermöglichen? Kann man es bereits in der Config-Datei aktivieren?

https://www.qemu.org/docs/master/system/i386/hyperv.html

Besten Dank!
 
  • Like
Reactions: Falk R.
Hallo :)

Ich habe ein wenig recherchiert, du kannst wohl über die:

/etc/pve/virtual-guest/cpu-models.conf

dir dein eigenes CPU-Model bauen, welches man dann in der Windows VM einstellen kann. siehe: https://pve.proxmox.com/wiki/Manual:_cpu-models.conf

1700646133626.png
Ein Beispiel aus der Dokumentation:

Code:
cpu-model: avx
    flags +avx;+avx2
    phys-bits host
    hidden 0
    hv-vendor-id proxmox
    reported-model kvm64
VG Jonas
 
  • Like
Reactions: itNGO and Falk R.
Ich hab allerdings aktuell keine Custom-CPU configuriert, es sieht so aus als gäbe es schon automatische Enlightments. Würde sich auch mit der Fehlermeldung decken, die ich beim Testen hatte:

Code:
warning: CPU flag/setting '+hv_relaxed' (set by custom CPU model) overwrites 'hv_relaxed' (automatic Hyper-V enlightenment for Windows 7 and higher)
warning: CPU flag/setting '+hv_time' (set by custom CPU model) overwrites 'hv_time' (automatic Hyper-V enlightenment for Windows)
warning: CPU flag/setting '+hv_vpindex' (set by custom CPU model) overwrites 'hv_vpindex' (automatic Hyper-V enlightenment for Windows)

Wie kann man denn im Windows prüfen, ob es denkt es läuft unter Hyper-V?

https://blog.wikichoon.com/2014/07/enabling-hyper-v-enlightenments-with-kvm.html
https://pve.proxmox.com/wiki/Manual:_cpu-models.conf
https://www.qemu.org/docs/master/system/i386/hyperv.html
https://www.linux-kvm.org/images/0/0a/2012-forum-kvm_hyperv.pdf
https://www.tecchannel.de/a/herausfinden-ob-windows-in-einem-virtuellen-system-laeuft,2037884

Falls es über dmi strings geht, ggf. noch interessant:

1700649841459.png
 
Last edited:
  • Like
Reactions: itNGO

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!