Hello Qemu is a community plugin, so if you don't get a reply here, the best will be check the documentation of the plugin and the source code to see if you can expose those details.
On Fri, Feb 23, 2018 at 1:05 PM, gloo <herzog...@gmail.com> wrote: > Hey guys I'm quite new to Vagrant and trying to find a solution to use EFI > bootloader for a qemu vm in Vagrant. > It seems to be possible to add the readonly part of EFI with > > > *config.vm.provider :libvirt do |libvirt|* > * libvirt.loader = '/usr/share/OVMF/OVMF_CODE.fd' * > > but how can I pass the writeable pflash OVMF_VARS.fd via Vagrant? > The libvirt storage options don't seem to allow pflash files as drive > > In qemu (packer) I use the following 2 lines to pass both files: > > [ "-drive", > "file=OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on" > ], > [ "-drive", "file=OVMF_VARS.fd,if=pflash,format=raw,unit=1" ], > > Any help would be appreciated. > > Gloo > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vagrant-up+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/8bd83fb9-2e71-4cc5-a65a-a72109b094f6%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/8bd83fb9-2e71-4cc5-a65a-a72109b094f6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyAThbPqPBg5PDrm2XRbuhuX3UYTjXc5XFd3GKJ5qMdBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.