Building HVMs Using Packer/Vagrant

Hey, there is a large community around Packer/Vagrant and there is even a large repository of VirtualBox images available at vagrantup.com. VagrantUp stores VirtualBox images as .box files but in the Qubes guide, it says you can make HVMs from .ova files (here Standalones and HVMs | Qubes OS).

I’m just wondering – what would be the best way of leveraging VagrantUp VirtualBox .box files to create HVMs? And are there any special optimizations that would improve the performance of the HVM?

FYI, this is not the answer but I think the .ova file is available during the build process in the build folder that is sometimes auto-deleted depending on your settings. It may be possible to configure your Packer template to not delete the build cache folder and upload it to S3.

However, it would still be nice to piggy back off of vagrantup.com and possibly add a Qubes OS vagrant plugin that lets you launch full screen, pre-configured customized images via HVM.