From f7210ab4b4c7c2ac07fa8c97b830488503dbaa81 Mon Sep 17 00:00:00 2001 From: thebsdbox Date: Wed, 12 Apr 2017 10:54:59 +0100 Subject: [PATCH] Fixed qemu argument typo and also correct use of raw disk Signed-off-by: Dan Finneran --- src/cmd/moby/run_qemu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/moby/run_qemu.go b/src/cmd/moby/run_qemu.go index ccc21c875..bdc1543ce 100644 --- a/src/cmd/moby/run_qemu.go +++ b/src/cmd/moby/run_qemu.go @@ -90,7 +90,7 @@ func runQemu(args []string) { } else { log.Infof("Using existing disk [%s]", *qemuDiskPath) } - qemuArgs = append(qemuArgs, "-disk", "file="+*qemuDiskPath+",format=raw") + qemuArgs = append(qemuArgs, "-drive", "file="+*qemuDiskPath+",format=qcow2") } // Check flags for iso/uefi boot and if so disable kernel boot