Qemu
QEMU¶
Coreboot¶
Build Coreboot for QEMU
1. Run make menuconfig
- Set Mainboard -> Mainboard Model -> QEMU x86 q35
- Set Mainboard -> Romsize -> 2MB
- Save Config
#Make Coreboot Bootloader
make crossgcc
#make crossgcc-i386
make
#Run QEMU
qemu-system-x86_64 -M q35 -bios build/coreboot.rom -serial stdio -display none
#debugmode
#qemu-system-x86_64 -M q35 -bios build/coreboot.rom -serial stdio -display none -chardev file,id=debugcon,path=log -device isa-debugcon,iobase=0x402,chardev=debugcon -monitor unix:/tmp/qemu-monitor,server,nowait
#socat - UNIX-CONNECT:/tmp/qemu-monitor
Libvirt¶
Manage virtual machines with virt-manager
Network Tunneling¶
https://securelist.com/network-tunneling-with-qemu/111803/
Using Strace¶
echo "memory_region_ops_*" >/tmp/events
echo "kvm_*" >>/tmp/events
qemu --trace events=/tmp/events ...