How does dom0 / qubes-settings obtain the service list from a Qube?

Certainly it is not enumerating 30_qubes.conf files in systemd dir as the manual suggests – the lists do not match at all. But how? UPD: apparently, solved: the services appear when they are first invoked by qvm-service and stay there until deleted.