imported from svn 'pve-common/trunk'