Improving is_vm_running