add the capability to automaticlly switch to qemu when host is vm