Then it was probably an LPAR. Are those reliant on hardware magic or just something like cgroups?

LPARs use hardware virtualization. The PowerVM hypervisor (PHYP) is in firmware.