Thw qemu builder produces a disk image with no information about the accelerator used for creating it. But the target environment might require certain drivers to function correctly, e. g. virtio drivers etc.
On Wed, Dec 26, 2018, 21:03 Ryan Chewning <[email protected] wrote: > Hi, > > I'm working on building several images that will be used in a Xen based > virtual environment. Does the Qemu accelerator need to be selected based > on the targeted running VM environment (Xen in my case) or the build > environment for the image (KVM at the moment)? Maybe I'm being a bit dense > while reading the documentation for the Qemu builder but I didn't find the > definition very clear for what "running the VM" meant. > > accelerator <https://www.packer.io/docs/builders/qemu.html#accelerator> > (string) > - The accelerator type to use when running the VM. This may be none, kvm, > tcg, hax, hvf, or xen. The appropriate software must have already been > installed on your build machine to use the accelerator you specified. When > no accelerator is specified, Packer will try to use kvm if it is > available but will default to tcgotherwise. > > > Thanks! > > Ryan > > -- > 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/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/e03e59af-65ef-4857-b035-1ac228d8a560%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/e03e59af-65ef-4857-b035-1ac228d8a560%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt9nHpgKyS8Pqt6HVQt6fSZS%3Dcq-PZP-xNHiVxnavR8jDQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
