Skip to content

Commit

Permalink
Change default CPU type to kvm64 with smep/smap
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 committed Jan 23, 2023
1 parent fdbd2a1 commit d846e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ endif
ifeq ($(ARCH),x86_64)
QEMU_BIN := qemu-system-x86_64
QEMU_ARGS += \
-cpu max \
-cpu kvm64,+smep,+smap \
-append "8250.nr_uarts=1 console=ttyS0 selinux=0 kpti no5lvl $(QEMU_EXTRA_KERNEL_CMDLINE)"

# We can't use KVM with GitHub Actions CI
Expand Down

0 comments on commit d846e82

Please sign in to comment.