[ptnetmap] fixed bugs in paravirt allocator (found by luigi)
[ptnetmap] fixed bugs in paravirt allocator (found by luigi)

refactoring in some functions, to avoid future bugs

luigirizzo/netmap,luigirizzo/netmap,luigirizzo/netmap,luigirizzo/netmap,luigirizzo/netmap