Separate swap files corresponding to different virtual machines in a host computer system
AssigneeVMware, Inc.
InventorsOsten Kit Colbert, Carl Waldspurger, Xiaoxin Chen, Anil Rao
Life of this patent
Estimating the term…
Abstract
A swap space is provided for a host computer system, where the swap space includes a plurality of swap files with each individual swap file for swapping data only for a single corresponding virtual machine (VM). The per-VM swap space is used solely by the single, corresponding VM, such that only that particular VM's memory is allowed to be swapped out to the swap file.
Claims39
In a host computer running a plurality of virtual machines on a physical memory of the host computer, a computer-implemented method of swapping data corresponding to one of the virtual machines from the physical memory, the method comprising:
- creating at least one swap file to be used as a swap space, the swap file being dedicated to only said one of the virtual machines;
- swapping out data corresponding to said one of the virtual machines from the physical memory to the swap file;
- said one of the virtual machines is migrated from the host computer to another destination host computer;
- the swap file is located on a shared storage device accessible by both the host computer and said destination host computer;
- and
- the swap file is opened by the destination host computer for migrating the virtual machine to said destination host computer.
For a host computer running a plurality of virtual machines on a physical memory of the host computer, a computer program product stored on a computer readable medium and configured to perform a computer-implemented method of swapping data corresponding to one of the virtual machines from the physical memory, the method comprising:
- creating at least one swap file to be used as a swap space, the swap file being dedicated to only said one of the virtual machines;
- swapping out data corresponding to said one of the virtual machines from the physical memory to the swap file;
- said one of the virtual machines is migrated from the host computer to another destination host computer;
- the swap file is located on a shared storage device accessible by both the host computer and said destination host computer;
- and
- the swap file is opened by the destination host computer for migrating the virtual machine to said destination host computer.
A host computer running a plurality of virtual machines on a physical memory of the host computer, the host computer including a storage device storing computer instructions configured to perform a computer-implemented method of swapping data corresponding to one of the virtual machines from the physical memory, and one or more central processing units for executing the computer instructions, the method comprising:
- creating at least one swap file to be used as a swap space, the swap file being dedicated to only said one of the virtual machines;
- swapping out data corresponding to said one of the virtual machines from the physical memory to the swap file;
- said one of the virtual machines is migrated from the host computer to another destination host computer;
- the swap file is located on a shared storage device accessible by both the host computer and said destination host computer;
- and
- the swap file is opened by the destination host computer for migrating the virtual machine to said destination host computer.
Dependencies are inferred from the claim text.