[PATCH 18/40] virfirewalltest: Shuffle the code around to remove a loop