I wrote about China and the need to move beyond LNG from insecure countries here. Not just Qatar, but Australia & countries like that.
Part of that will be met by pipeline gas from Russia & Central Asia.
Long term, the goal should be to connect Xinjiang to Iran.
Extending a gas pipeline to Iran would indeed be ideal. The China-Central Asia Gas Pipeline already extends from Xinjiang to Turkmenistan (via Kazakhstan & Uzbekistan), it should be within the realm of technical feasibility to take one step further to Iran as well.
However, if I recall correctly, one of the concerns with that option is that neither China nor Russia are particularly enthusiastic about giving Turkmenistan a large scale outlet to alternative gas markets. In theory, such an extension could potentially enable that option in the future.
The other more immediate roadblock is of course the current regional war, which remains in a very unpredictable phase right now.
Last edited: