more precise validation for guest_device_name.