def METHOD_NAME(self):
    """
    :return: A dictionary in which key is vCPU ID and value is a frozenset
      with IDs of pCPUs the vCPU is pinned to. If a vCPU is not pinned to
      any pCPU it is not listed in the dictionary. Empty dictionary is
      returned if none of the vCPUs has a pinning defined.
    """
    cputune = vmxml.find_first(self._dom, 'cputune', None)
    if cputune is None:
        return {}
    pinning = dict()
    for vcpupin in vmxml.find_all(cputune, 'vcpupin'):
        cpuset = vcpupin.get('cpuset', None)
        vcpu = vcpupin.get('vcpu', None)
        if vcpu is not None and cpuset is not None:
            cpus = taskset.cpulist_parse(cpuset)
            if len(cpus) > 0:
                pinning[int(vcpu)] = cpus
    return pinning