Qemu Accelerators

14 views
Skip to first unread message

Ryan Chewning

unread,
Dec 26, 2018, 3:03:06 PM12/26/18
to Packer
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 (string) - The accelerator type to use when running the VM. This may be nonekvmtcghaxhvf, 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 

Rickard von Essen

unread,
Dec 26, 2018, 4:00:29 PM12/26/18
to packe...@googlegroups.com
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. 

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/e03e59af-65ef-4857-b035-1ac228d8a560%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages