C/C++ codes related with Linux kernel, virtualization and basic C/C++ confusion ideas