- // There should be a cleaner way to do this.
- // We should handle this in SIMIX_post_comm instead.
- if (surf_resource_get_state(surf_workstation_resource_priv(
- simcall->issuer->smx_host)) != SURF_RESOURCE_ON) {
- SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed");
- break;
- }
-