[MC] The main difference between swapping and virtual memory is that virtual memory allows only part of a process to be in memory, but swapping insists that a process is either entirely in or entirely out of memory.

Virtual memory works on the level of pages. Swapping works on the level of entire processes.