From 417f08099395317e4328a85d91fff06d1c587e55 Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Sun, 25 Mar 2018 13:45:52 -0700 Subject: [PATCH] Improve QEMU debugging setup --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e4ee7ef..5898ed1 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ MOD_TARGETS := PARTED ?= /sbin/parted QEMU ?= qemu-system-x86_64 GDBPORT ?= 27006 -CPUS ?= 2 +CPUS ?= 1 OVMF ?= assets/ovmf/x64/OVMF.fd QEMUOPTS := -pflash $(BUILD_D)/flash.img @@ -211,6 +211,6 @@ qemu-window: $(BUILD_D)/fs.img $(BUILD_D)/flash.img "$(QEMU)" $(QEMUOPTS) qemu-gdb: $(BUILD_D)/fs.img $(BUILD_D)/boot.debug.efi $(BUILD_D)/flash.img $(BUILD_D)/kernel.elf - "$(QEMU)" $(QEMUOPTS) -S -D popcorn-qemu.log -s -nographic + "$(QEMU)" $(QEMUOPTS) -d mmu,guest_errors,page -D popcorn.log -s -nographic # vim: ft=make ts=4