Green’s Dictionary of Slang

shagging n.

[shag v.1 (1)]

[mid-19C+] an act of sexual intercourse.

In compounds

shagging machine (n.)

[late 19C] (US) the vagina.