From b5700d4d7c251c89f636b2ce2f4671a4c98212f0 Mon Sep 17 00:00:00 2001 From: Maciej Wawryk Date: Thu, 12 Mar 2020 14:21:16 +0100 Subject: [PATCH] scripts/vagrant: Fix unsupported machine type error Vagrant fails during creation virtual machine using custom qemu emulator. Setting machine type to "pc" resolved this problem. Signed-off-by: Maciej Wawryk Change-Id: I1822439bb2235b5881d3c331c378017928953ac4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1248 Tested-by: SPDK CI Jenkins Reviewed-by: Darek Stojaczyk Reviewed-by: Ben Walker --- scripts/vagrant/Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/vagrant/Vagrantfile b/scripts/vagrant/Vagrantfile index 848a00ba2..8952b667d 100644 --- a/scripts/vagrant/Vagrantfile +++ b/scripts/vagrant/Vagrantfile @@ -125,6 +125,7 @@ Vagrant.configure(2) do |config| if not vmemulator.empty? libvirt.emulator_path = "#{vmemulator}" + libvirt.machine_type = "pc" end # we put nvme_disk inside default pool to eliminate libvirt/SELinux Permissions Problems