解决qemu有时过断点不停地问题
This commit is contained in:
parent
753c099346
commit
277a721f51
|
@ -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
|
||||||
|
|
Reference in New Issue