Perhaps from a Late Latin qualea; cf. coacula, quaccola, quaquila, either of onomatopoetic, imitative origin, or from a Germanic source. Compare Romansch quaiglia, Italian quaglia, French caille, Occitan calha.
cuaie f