Certain aspects of a method and system for deferred pinning of host memory
for stateful network interfaces are disclosed. Aspects of a method may
include dynamically pinning by a convergence network interface controller
(CNIC), at least one of a plurality of memory pages. At least one of: a
hypervisor and a guest operating system (GOS) may be prevented from
swapping at least one of the dynamically pinned plurality of memory
pages.