GO:0009597: detection of virus
The series of events in which a stimulus from a virus is received and converted into a molecular signal.