FM_FMRI_SW_CTXT_PID
err += nvlist_add_int32(ctxt, FM_FMRI_SW_CTXT_PID, i32);
err |= nvlist_add_int64(ctxt, FM_FMRI_SW_CTXT_PID, ctxt_pid);