Add and use is_vm to determine if we are running on a virtual machine.