The others gave you a solution but note the following:
Jellyfin in a VM means that once you passthrough the GPU to the VM, you will lose graphical capabilities on the host. That could be a dealbreaker. Segmenting the GPU is inefficient.
I host my Jellyfin in a LXC because I can passthrough the GPU without reserving it to the LXC.