Revert "Modify vm context"

This reverts commit c82cbc7d63859daba986cd7ccedf603ad5602bea.