Who would expect hydroxychloroquine to be antiviral? If it has a benefit it would likely be a lessening of the symptoms of the infection.
Most researchers working on SARS viruses. In 2004 it was known. You can read an example paper here, and another one here.
More recently there have been many research papers showing the hydroxychloroquine is an effective anti-viral against COVID-19 in vitro.