As COVID-19 rages across Hong Kong at the start of a sensitive political year for China and President Xi Jinping, Beijing is determined not to be embarrassed and undermined as it was by the often-violent protests that rocked the city in 2019.

In the past week, since Xi told the city its "overriding mission" was to control the worsening crisis, Hong Kong has stepped up anti-COVID measures, including plans for mass testing buttressed by equipment, testing vehicles and personnel from the mainland.

Foremost for Beijing, some advisers to China's government say, is a fear that unless Hong Kong contains the virus and prevents a lot of people from suffering, the city could see a return to the instability of 2019 when anti-government protests posed a major crisis for Xi.