I've tested that bhyve now correctly sets the ram configuration variable
when parsing legacy options:
# usr.sbin/bhyve/bhyve -o config.dump=1 -s 7,nvme,ram=16384 xx
pci.0.7.0.device=nvme
pci.0.7.0.ram=16384
# usr.sbin/bhyve/bhyve -o config.dump=1 -s 7,nvme,/dev/gpt/rootfs xx
pci.0.7.0.device=nvme
pci.0.7.0.path=/dev/gpt/rootfs