Resources allocation for virtualized architectures