added logic to bash script to check for support hardware acceleration for virtual machines