Major engineering work is going to test the patience of passengers travelling from Portsmouth over Christmas.