From b4d35eceff1b12aaf5cee269bf615faaf64f5cff Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Tue, 7 May 2019 08:37:57 +0100 Subject: [PATCH] builder/qemu: Fix typo in version comparison --- builder/qemu/step_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/qemu/step_run.go b/builder/qemu/step_run.go index 3631b9bda..b0e10e4a1 100644 --- a/builder/qemu/step_run.go +++ b/builder/qemu/step_run.go @@ -90,7 +90,7 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error return nil, err } qemuVersion, err := version.NewVersion(rawVersion) - v2 := version.Must(version.NewVersion("1.2")) + v2 := version.Must(version.NewVersion("2.0")) if qemuVersion.GreaterThanOrEqual(v2) { if config.DiskInterface == "virtio-scsi" {