Yeah. The firmware would be updated and you'd lose the jailbreak. You'd have to hope that there is a jailbreak for the newer firmware.
I'm pretty sure once 8.1.1 is out, Pangu will release a jailbreak for that too. No need to show their cards right now before it's released.