Skip to content

Commit d846e82

Browse files
committed
Change default CPU type to kvm64 with smep/smap
1 parent fdbd2a1 commit d846e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ endif
330330
ifeq ($(ARCH),x86_64)
331331
QEMU_BIN := qemu-system-x86_64
332332
QEMU_ARGS += \
333-
-cpu max \
333+
-cpu kvm64,+smep,+smap \
334334
-append "8250.nr_uarts=1 console=ttyS0 selinux=0 kpti no5lvl $(QEMU_EXTRA_KERNEL_CMDLINE)"
335335

336336
# We can't use KVM with GitHub Actions CI

0 commit comments

Comments
 (0)