BENGALURU: Karnataka Chief Minister H.D. Kumaraswamy on Friday won a trust vote in the assembly, amid a walkout by BJP members.