fixes here and there in preparation of xen-server calls