Re: [help] How to test kernel code that I wrote?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Aug 2016 16:04:58 +0800, Louie Lu said:

> Is that I'll need to use VM to test the code,
> or just test it on my laptop?
>
> I found that if sometimes I broke my code (e.g. can't remove modules,
> modules panic ...etc)
> I need to reboot my laptop to recover from this situation.
>
> Is that how a true kernel developer does?
> or they will open a VM to test it, then test on real hardware PC.

There's no such thing as a "true kernel developer".  Some run their
code in a VM because their code is something that can be tested in a VM,
some test on a real hardware PC, some write the build onto a flash
card and put it in a non-PC system (usually an ARM or MIPS based
embedded device).

All depends what your resources are, and what code you're testing.

Attachment: pgpbJcVRr7x7N.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux