Skip to content

Commit aed447f

Browse files
committed
Actually set the number of CPU to use
1 parent bc5d225 commit aed447f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qemu.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ func (d *Driver) Start() error {
304304
startCmd := []string{
305305
"-display", "none",
306306
"-m", fmt.Sprintf("%d", d.Memory),
307+
"-smp", fmt.Sprintf("%d", d.CPU),
307308
"-boot", "d",
308309
"-cdrom", filepath.Join(machineDir, "boot2docker.iso"),
309310
"-qmp", fmt.Sprintf("unix:%s,server,nowait", d.monitorPath()),

0 commit comments

Comments
 (0)