ok it looks like this:
as i said, smm has to be activated in the ovmf image
fedora does this, but provides a seperate image for this (OVMF_CODE.seboot.fd)
sadly this will not work with our qemu version currently, as we
disabled smm support because of stability issues [1]
even if we would have this, getting it to work is not so trivial as you need several additional
options for qemu [2] and it works only with q35
but you can go another route entirely, just use our old image [3] in the following way.
for each vm where you need this
set the vm to seabios (not OVMF)
copy the old OVMF image to a new place e.g. /tmp/ovmf-vm100.fd
do a
Code:
qm set <VMID> -args '-drive if=pflash,format=raw,file=/tmp/ovmf-vm100.fd'
now your old method should work again, and if you save the ovmf image for each vm
seperately and persistent, the settings should be saved
maybe migration/ha would work also, but you would have to copy the image to the exact
same location on each host (after you set your options), but warning, this is
untested
[1]
http://pve.proxmox.com/pipermail/pve-devel/2015-September/017486.html
[2]
http://www.labbott.name/blog/2016/09/15/secure-ish-boot-with-qemu/
[3]
https://git.proxmox.com/?p=pve-qemu...d;hb=e978929d317de55a1d58f706f5423dc6fca6babf