Skip to content

Commit

Permalink
feat: make explicit "smp" option values for QEMU
Browse files Browse the repository at this point in the history
This makes it compatible with newer versions of QEMU
  • Loading branch information
PatricioIribarneCatella committed Nov 1, 2023
1 parent ef6b400 commit 1125e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sched/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ CPUS ?= 1
QEMUOPTS = -serial mon:stdio -gdb tcp:$(GDBSERV)
QEMUOPTS += $(shell if $(QEMU) -nographic -help | grep -q '^-D '; then echo '-D qemu.log'; fi)
KERNEL_IMAGE = $(OBJDIR)/kern/kernel
QEMUOPTS += -smp $(CPUS)
QEMUOPTS += -smp $(CPUS),sockets=$(CPUS),cores=1
QEMUOPTS += $(QEMUEXTRA) -d guest_errors
QEMUOPTS += -kernel $(KERNEL_IMAGE)

Expand Down

0 comments on commit 1125e1a

Please sign in to comment.