Compare commits

..

No commits in common. "8127c67d30fed60741bae3408ecf543e1153278e" and "b1c7303b0181b7de392bff0827321927338741f4" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -17,12 +17,4 @@ then
fi fi
echo "dump-guest-memory memory.dump" | qmp-shell -H qmp.socket echo "dump-guest-memory memory.dump" | qmp-shell -H qmp.socket
echo "dump memory lower.bin 0 0xa0000" | gdb --core=memory.dump -q echo "dump memory memory.bin 0 0xa0000" | gdb --core=memory.dump
echo "dump memory upper.bin 0xc0000 0x400000" | gdb --core=memory.dump -q
truncate memory.bin --size 64M
dd if=lower.bin of=memory.bin
dd if=upper.bin of=memory.bin seek=1536
rm lower.bin
rm upper.bin

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
qemu-system-x86_64 -m 64M -enable-kvm -d guest_errors nightloader.bin -qmp unix:qmp.socket,server,nowait qemu-system-x86_64 -m 512M -enable-kvm -d guest_errors nightloader.bin -qmp unix:qmp.socket,server,nowait