There are a lot of possible consequences.
Here's one:
If Austria also retains Silesia, that means that the the Hapsburg domain is weighted more toward Germany. The Hapsburgs will be more interested in further territorlal expansion in Germany. One probable area for this is "Hither Austria" in southwestern Germany.
View attachment 260147
These holdings were the remnant of the original Hapsburg domain, which also included Switzerland. OTL, when the HRE was consolidated in 1803-1806, they were ceded to Baden and Wurttemberg. which also absorbed the other petty states in the area. Vienna didn't care much, and with Bavaria in between they were not well-connected to the rest of the Hapsburg lands.
If Bavaria is Hapsburg, there's a broad connection, and most likely the Hapsburgs add those petty states, forming a solid wedge of territory all the way to the Rhine.
There are lots of ways for unification to play out. Prussia is the second power in Germany, with holdings scattered across the north; it could unify north Germany. Austria could gain Franconia as well as Bavaria. There might be some minor states wedged into the center-west of Germany: Hesse, Hesse-Darmstadt, Hesse-Kassel, the Palatinate.
With much extra German ballast, Austria will more effectively command Hungary. It could end with a sprawling, predominantly German but deeply polyglot state stretching from the Rhine to Transylvania; a second north German state from east Prussia to the Rhine; and a buffer of several minor states in between.