Fixing xen_test() for VMI_AUTO mode

VMI_AUTO was not working when trying to use a file because xen_test() was ignoring `name` and calling checkid with 0 instead of the passed in id.