vm-tools: Fix for various modes of operations