Merge pull request #6955 from hbokh/vagrant-libvirt-hvf

qemu: Add "hvf" as a libvirt driver
This commit is contained in:
Rickard von Essen 2018-11-04 14:42:56 +01:00 committed by GitHub
commit b88b5c9aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func (p *LibVirtProvider) Process(ui packer.Ui, artifact packer.Artifact, dir st
// Convert domain type to libvirt driver
var driver string
switch domainType {
case "none", "tcg":
case "none", "tcg", "hvf":
driver = "qemu"
case "kvm":
driver = domainType

View File

@ -142,3 +142,8 @@ The following Docker input artifacts are supported:
- `docker-import`
- `docker-tag`
- `docker-push`
### QEMU/libvirt
The `libvirt` provider supports QEMU artifacts built using any these accelerators: none,
kvm, tcg, or hvf.