Hi,
Am 2016-04-05 09:11, schrieb Sven Eckelmann:
On Tuesday 05 April 2016 01:15:58 Linus Lüssing wrote:
Maybe you could set up a KVM instance and play a little with its code in there? Try out lists and spinlocks etc. in there without crashing the VM instance :).
There is also an easy example how to build an amd64 [1] VM image with many debug helpers enabled.
And my 2ct: user mode linux still exists - despite making no new headlines in the news - in current kernels. It might not be fit for developing PCI device drivers, but for networking code, it's quite nice. And you can just use gdb on it. It's all just a "make ARCH=um" away! You want 100 kernel instances communicating using batman-adv? No problem! Want a conditional breakpoint at some point in the code you don't yet have a grip on? Inspect stack when things went wrong? Just go ahead :-)
-hwh (who actually did run 100 UML instances, using batman-adv, just for the fun of it - and to measure resulting "baseline" traffic)