![]() is, avery complete RaspberryPi tutorials page. We can also verify that the disk state is also reversed. In order to execute the Linuxkernelunder QEMU,some modifications need tobe performed on the. ![]() This shows that CPU and memory states were reverted. The counting goes back to where we saved. Then, if we load the vm: loadvm my_snap_id Then on another shell, open the monitor: telnet localhost 45454 To test it out, login into the VM, and run: i=0 while true do echo $i i=$(($i + 1)) sleep 1 done ![]() buildroot/output.x86_64~/images/bzImage -nographic ![]() buildroot/output.x86_64~/host/usr/bin/qemu-system-x86_64 -m 128M -monitor telnet::45454,server,nowait -netdev user,hostfwd=tcp::45455-:45455,id=net0 -smp 1 -M pc -append 'root=/dev/vda nopat nokaslr norandmaps vkmsg=on printk.time=y console=ttyS0' -device edu -device virtio-net-pci,netdev=net0 -drive file=./buildroot/output.x86_64~/images/2,if=virtio,format=qcow2 -kernel. Qemu-img convert -f raw -O qcow2 rootfs.ext2 2Īnd the final QEMU command used was. The key step is to convert the image to qcow2 as explained at: cd buildroot/output.x86_64~/images Peter's answer just worked for me, but let me provide a fully reproducible example. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |