Add RHEL7 to vm functions.

(cherry picked from commit cecd000fdb0c37b38e8b9fdfaed9eddb33b813cf)