implementation of register_vmpool