Skip to content
Permalink
Browse files

Disable ACPI and SMP to speed qemu's Linux boot a bit.

  • Loading branch information...
bradfitz committed Aug 6, 2018
1 parent 4a4d4b3 commit 60e4f3168b38ab41238832021755d0e0a8875c5a
Showing with 2 additions and 1 deletion.
  1. +2 −1 integration_test.go
@@ -63,6 +63,7 @@ func init() {
// Be verbose in the qemu guest. We'll filter it out in the parent.
flag.Lookup("test.v").Value.Set("true")

// Mount things expected by various tools (sfdisk, lsblk, etc).
for _, mnt := range []struct {
dev, path, fstype string
}{
@@ -159,7 +160,7 @@ func TestInQemu(t *testing.T) {
"-kernel", kernelPath,
"-initrd", initrdPath,
"-no-reboot",
"-append", "console=ttyS0,115200 panic=-1 ip=dhcp")
"-append", "console=ttyS0,115200 panic=-1 acpi=off nosmp ip=dhcp")
cmd.Stdout = os.Stderr
cmd.Stderr = os.Stderr
err = cmd.Run()

0 comments on commit 60e4f31

Please sign in to comment.
You can’t perform that action at this time.