From the beeb live coverage:
' It’s by no means clear that Labour has the votes to bring down the entire Scottish government.
Much will depend on whether the Greens would be willing to reject the government in which they served, rather than just the first minister who sacked them.
But were the Scottish government to lose a no confidence vote it would be legally obliged to resign.
An election isn’t automatic in those circumstances. The Scottish Parliament would have 28 days to elect a new first minister. That could well prove impossible and lead to the dissolution of parliament with voters going to the polls.
Another option is that MSPs could vote for an early election with a two-thirds majority. However getting 84 MSPs to agree about anything in the current political turmoil might be challenging.'