Kernel Debugging with QEMU: Difference between revisions

imported>Luis-Hebendanz
mNo edit summary
imported>Luis-Hebendanz
mNo edit summary
Line 60: Line 60:


== Launch qemu ==
== Launch qemu ==
Discard the <code>-enable-kvm</code> flag if
<code> virtualisation.libvirtd.enable </code> is not set in your configuration.nix.
The <code>nokaslr</code> kernel flag is important to be able to set breakpoints in kernel memory.
The <code>nokaslr</code> kernel flag is important to be able to set breakpoints in kernel memory.
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">