after kernel2
Added the new functions for VM.