解决qemu有时过断点不停地问题

This commit is contained in:
pointer-to-bios 2023-12-13 19:45:59 +08:00
parent 753c099346
commit 277a721f51
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@ BIOS = bios/${ARCH}/OVMF_CODE.fd
run: run:
@sudo modprobe nbd @sudo modprobe nbd
@make load @make load
@qemu-system-x86_64 -m 4G metaverse.img -enable-kvm -bios ${BIOS} @qemu-system-x86_64 -m 4G metaverse.img -bios ${BIOS}
debug: debug:
@echo "在gdb中连接远程目标'localhost:1234'即可" @echo "在gdb中连接远程目标'localhost:1234'即可"
@sudo modprobe nbd @sudo modprobe nbd
@make load @make load
@qemu-system-x86_64 -m 4G metaverse.img -enable-kvm -bios ${BIOS} -s -S @qemu-system-x86_64 -m 4G metaverse.img -bios ${BIOS} -s -S
create: create:
@qemu-img create -f qcow2 metaverse.img 512M @qemu-img create -f qcow2 metaverse.img 512M