解决qemu有时过断点不停地问题
This commit is contained in:
parent
753c099346
commit
277a721f51
|
@ -8,13 +8,13 @@ BIOS = bios/${ARCH}/OVMF_CODE.fd
|
|||
run:
|
||||
@sudo modprobe nbd
|
||||
@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:
|
||||
@echo "在gdb中连接远程目标'localhost:1234'即可"
|
||||
@sudo modprobe nbd
|
||||
@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:
|
||||
@qemu-img create -f qcow2 metaverse.img 512M
|
||||
|
|
Reference in New Issue