Kernel in Ubuntu inside cross-compiler environment is actually equivalent to the Raspberry Pi board or other inside compiled, the actual operating environment and the board is the same;
But through a shared folder or extract the kernel compilation, in fact, the environment or windows environment, there will be some sensitive issues, and compile and decompression speed is very slow;
Or I suggest that you make the appropriate kernel compilation and decompression in ubuntu inside.