Patent ID: 8645611

Claim:
A system comprising: a memory; a processor; a virtual machine (VM) executed via the processor; a virtual machine monitor (VMM) executed via the processor to control the VM's access to the memory and the processor, issue a hot-page swap (HPS) request, the HPS request to include a virtual address in use by at least one of the VM and a device assigned to the VM, a first memory page location mapped to the virtual address, and a second memory page location, and block access to the virtual address from the VM until the HPS request is complete; and a DMA Remapping Unit (DRU) operatively coupled to the processor and the memory to receive and verify the HPS request, copy content of the first memory page location to the second memory page location; track, via a counter, memory locations of content being copied from the first memory page location to the second memory page location, remap the virtual address from the first memory page location to the second memory page location, and block Direct Memory Access (DMA) requests from one or more devices assigned to the at least one VM and one or more devices not assigned to the at least one VM to addresses of memory being remapped until the HPS request is complete, said devices comprising peripheral, non-virtualized devices, wherein blocking DMA requests includes determining the DMA requests in relation to the counter, blocking DMA requests for locations greater that a value of the counter, and allowing DMA requests for locations less than the value of the counter.