By considering the Einstein-Vlasov system for static spherically symmetric distributions of matter, we show that configurations with constant anisotropy parameter beta, leading to asymptotically flat spacetimes, have necessarily a distribution function (DF) of the form F = l(-2 beta)xi(epsilon), where epsilon = E/m and l = L/m are the relativistic energy and angular momentum per unit rest mass, respectively. We exploit this result to obtain DFs for the general relativistic extension of the hypervirial family introduced by Nguyen and Lingam [Mon. Not. R. Astron. Soc. 436, 2014 (2013)], which Newtonian potential is given by phi(r) = -phi(0)/[1 + (r/a)(n)](1/n) (a and phi(0) are positive free parameters, n = 1, 2, ...). Such DFs can be written in the form F-n = l(n-2)xi(n)(epsilon). For odd n, we find that xi(n) is a polynomial of order 2n + 1 in epsilon, as in the case of the Hernquist model (n = 1), for which F-1 proportional to l(-1) (2 epsilon - 1)(epsilon - 1)(2). For even n, we can write xi(n) in terms of incomplete beta functions (Plummer model, n = 2, is an example). Since we demand that F >= 0 throughout the phase space, the particular form of each xi(n) leads to restrictions for the values of phi(0). For example, for the Hernquist model we find that 0 <= phi(0) <= 2/3, i.e., an upper bounding value less than the one obtained for Nguyen and Lingam (0 <= phi(0) <= 1), based on energy conditions.