I think a good parent loves their child unconditionally, or almost unconditionally. Which means (almost) never disowning them, loving them even if they do dreadful, evil things.
But there must be some limit. I suppose you can end up hating your child if, for example they are a psychopath who enjoys hurting you personally - even then you may have strong conflicting feelings for them. Or if they hurt your other children deliberately.
I asked my parents if there was anything me or my brother could do, that they would not feel parental love for us, or rather - that love might be overwhelmed by hatred, that they might ever want to harm us. My mum replied that she might feel that way if one of us killed the other.
Even then I get the impression that she would still feel love (as well as hatred) for her remaining child. I'm pretty sure that I could murder dad, and she might be very angry (obv), but she would still love me. I'm pretty sure that I could be a serial killer, and she would still love me.
On the contrary to what some posters have written - I think the knowledge of your parents' unconditional love makes you a happier and more stable person, one who is less likely to engage in delinquent or criminal behaviour. If you have a close, loving bond with your parents - you don't need the threat of punishment to want to please them and generally be a good person.
I think the majority of young criminals probably actually the kind who are very angry, and insecure, wanting to go along with or please others. Or have a lack of empathy because they haven't had normal relationships (eg: with their parents) as a child. I don't know many criminals from happy, loving homes. Yet again, I don't know many criminals at all so... what do I know?
Note: Not to imply that all people from sad/unloving backgrounds have immoral/criminal tendencies. I guess some are very strong people even despite their background.