[SOLVED] Help regarding hyperv configuration.

TheLoudis

New Member
Sep 7, 2023
2
0
1
I am very new to proxmox and have gotten stuck on configuring hyperv. In a traditional QEMU config.xml I would be able to add the args <vpindex state="on"><runtime state="on"><synic state="on"><reset state="on"><frequencies state="on"> all under <hyperv>. How does this transfer to my qemu-server/xxx.conf.

Here is my current conf with all the private data redacted.

Code:
agent: 0,type=isa
args: -cpu host,-hypervisor,kvm=off 
balloon: 0
bios: ovmf
boot: order=sata0
cores: 8
cpu: host
efidisk0: local-lvm:vm-102-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: mapping=GA102,pcie=1,x-vga=1
kvm: 1
machine: pc-q35-8.0
memory: 16384
meta: creation-qemu=8.0.2,ctime=1693851810
name: windows-game
net0: e1000=<redacted>,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win11
sata0: local-lvm:vm-102-disk-1,size=80G,ssd=1
sata1: ssd:vm-102-disk-0,size=500G,ssd=1
scsihw: lsi
smbios1: <redacted>
sockets: 1
tablet: 0
tpmstate0: local-lvm:vm-102-disk-2,size=4M,version=v2.0
vga: none
vmgenid: <redacted>
 
After looking further into this everything is already enabled and can be seen through "qm showcmd xxx".
Code:
-cpu 'host,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=proxmox,hv_vpindex,kvm=off,+kvm_pv_eoi,+kvm_pv_unhalt'

The only one not enabled is frequencies but by following the examples above I enabled it by adding "hv_frequencies" to my args.

This was all to try and get battleye running on my windows 11 vm but Fortnite switches between EAC and Battleye making me unable to test this.

I am going to explore other solutions for playing the games protected by BE but I thought I would reply to my post to explain what happened.
 
t
After looking further into this everything is already enabled and can be seen through "qm showcmd xxx".
Code:
-cpu 'host,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=proxmox,hv_vpindex,kvm=off,+kvm_pv_eoi,+kvm_pv_unhalt'

The only one not enabled is frequencies but by following the examples above I enabled it by adding "hv_frequencies" to my args.

This was all to try and get battleye running on my windows 11 vm but Fortnite switches between EAC and Battleye making me unable to test this.

I am going to explore other solutions for playing the games protected by BE but I thought I would reply to my post to explain what happened.
this works with EAC? i'm trying to bypass the antivm
 

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!