Mapping custom qemu config 1-1 to proxmox


New Member
Jul 4, 2023

I have a custom qemu launcher that I would like to port 1-1 into proxmox. I tried adding some custom settings to the 'machine: q35' setting in qm.conf (e.g. i8042=off) but I see that the actual called command appends a +pve0 to the q35 machine type.
1. I'm wondering what customizations are there in the pve provided machine type?
2. Also, how to I disable this and use my own? I would like this VM to still be easily portable 1-1 to a non-proxmox environment should the need arise.
3. Finally, I saw mention of smbios1 in qm.conf manual. Is there a possibility to set further smbios fields?
you can get the full command line that will be used under the hood with qm showcmd <ID> --pretty. It should be portable if you:
  • remove the +pve0 suffix from the machine type (I don't think there is a difference currently, we had to do a modification for machine version 4.1, but not since then AFAIK).
  • add -cpu kvm64 if you don't already have a -cpu argument (Proxmox VE uses kvm64 instead of qemu64 as a default for backwards compatibility reasons).
  • add -accel kvm if you don't already have an -accel argument (used by default in Proxmox VE, again I think for backwards compat/historical reasons).
To set custom options like modifying machine type and other smbios use qm set <ID> --args <your custom options passed directly to kvm>
Hi fiona,

Thanks for your reply!

So essentially I would set qm set <ID> --args "-machine q35,optionA,optionB"?
Hi fiona,

Thanks for your reply!

So essentially I would set qm set <ID> --args "-machine q35,optionA,optionB"?
Yes. This should overwrite the earlier -machine parameter generated by default.


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!