I have multiple QEMU binaries that may all be getting used at the same time for different VMs. It seems like Proxmox assumes that "/usr/bin/kvm" will be what gets used (actually it seems like the binary or symlink HAS to be called "kvm").
I was able to successfully compile pve-qemu with my changes. I made some changes to QemuServer.pm (mainly overriding $kvm_binary in config_to_command) and using `qm start <>` I can confirm that my build is working as expected. The idea was to put the location of the QEMU binary in the *.conf file; however this does not seem to be enough. Using the WebUI still uses /usr/bin/kvm. If the VM crashes then the conf file get reset and my new parameter for the QEMU binary removed.
How would I go about modifying Proxmox to accomplish this (or is there already a way)?
I was able to successfully compile pve-qemu with my changes. I made some changes to QemuServer.pm (mainly overriding $kvm_binary in config_to_command) and using `qm start <>` I can confirm that my build is working as expected. The idea was to put the location of the QEMU binary in the *.conf file; however this does not seem to be enough. Using the WebUI still uses /usr/bin/kvm. If the VM crashes then the conf file get reset and my new parameter for the QEMU binary removed.
How would I go about modifying Proxmox to accomplish this (or is there already a way)?