Splitting the management of vms and hosts