Kernel Debugging with QEMU: Difference between revisions

imported>Luis-Hebendanz
Created page with "= QEMU Kernel Debugging Setup = == Setup == Clone the repository <syntaxhighlight lang="console"> $ git clone https://github.com/torvalds/linux.git </syntaxhighlight> Kernel..."
 
imported>Luis-Hebendanz
No edit summary
Line 57: Line 57:


== Launch qemu ==
== Launch qemu ==
<syntaxhighlight lang="shell">
<syntaxhighlight lang="console">
#!/bin/sh
$ qemu-system-x86_64 -s -S \
 
qemu-system-x86_64 -s -S \
     -kernel ../arch/x86_64/boot/bzImage \
     -kernel ../arch/x86_64/boot/bzImage \
     -hda qemu-img.img \
     -hda qemu-img.img \