Run
if (amd_state == Run)
if (amd_state == Run) {
if ((mf->mf_flags & MFF_RESTART) && amd_state == Run) {
amd_state = Run;