Prior to granting a deferral of proceedings, a deferral of entry of a conviction order, if none, or a deferral of a final order, the court shall notify the defendant that he would be waiving his rights to appeal any final order of guilt if such deferral is granted.
Va. Code § 19.2-298.02