1. A method comprising: assigning a portion of network hardware resources of a host to a virtual network interface card (VNIC); configuring a virtual machine network stack (VMNS) in a virtual machine (VM) bound to the VNIC to use the portion of network hardware resources assigned to the VNIC; performing a modification to the portion of network hardware resources; and automatically reconfiguring the VMNS to adapt to the modification.