Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/gok/vmrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (r *vmRunConfig) runQEMU(ctx context.Context, fullDiskImage string, extraAr
case "arm64":
qemu.Args = append(qemu.Args,
"-machine", "virt,highmem=off",
"-cpu", "cortex-a72",
"-cpu", "host",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, -cpu=host does not work for me?

% qemu-system-aarch64 -name dr -boot order=d -drive file=/tmp/gokrazy-vm1161502338,format=raw -device i6300esb,id=watchdog0 -watchdog-action reset -smp 32 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::8022-:22 -m 1024 -machine virt,highmem=off -cpu cortex-a72 -bios /tmp/gokrazy-vm1861489883/arm64-QEMU_EFI.fd
^Cqemu: terminating on signal 2

% qemu-system-aarch64 -name dr -boot order=d -drive file=/tmp/gokrazy-vm1161502338,format=raw -device i6300esb,id=watchdog0 -watchdog-action reset -smp 32 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::8022-:22 -m 1024 -machine virt,highmem=off -cpu host -bios /tmp/gokrazy-vm1861489883/arm64-QEMU_EFI.fd      
qemu-system-aarch64: unable to find CPU model 'host'

"-bios", arm64EFI)

case "amd64":
Expand Down
Loading