Federal parliament passes virus packages