Closed joshtbernstein closed 2 months ago
Can you figure out how to do this in QEMU? If it's possible in QEMU, we can probably add an option.
@osy Sorry for the delay, it seems that there's a -cpu
option that should do this, but I couldn't get it to work.
-cpu kvm64,hv-avic,hv-vendor-id=KVMKVMKVM
I'm not sure if I'm misunderstanding what it does or if it's not implemented in UTM.
So it is currently not implemented in UTM but I need a reference on how to do it in QEMU in order to implement it. That means installing brew install qemu
and running with the right command line options to achieve what you want to do and then pasting that command here.
It looks like this won't work without changing the code in QEMU. Want me to close this out?
Feel free to keep it open if you want just know that it’ll be blocked on QEMU’s implementation.
I have a virtual appliance that looks at the hw.hv_vendor kernel parameter (FreeBSD) to determine which hypervisor it's running on.
When using TCG this is set to "TCGTCGTCGTCG" and when using HVF this is blank. Is there a way to provide an override so that I could set this to "KVMKVMKVM" (what it's set to on a machine running KVM)? The appliance doesn't actually need KVM, it just uses that to determine it's virtual and not physical.