Hardware Assisted Inter Hypervisor Partition Data Transfers
AssigneeMicrosoft Corporation
InventorVladimir Pavlov
Life of this patent
Estimating the term…
Abstract
An invention is disclosed for effectuating direct memory access (DMA) transfers by a guest operating system of a child partition. A guest operating system is presented with virtualized resources rather than physical resources—e.g. a virtualized processor, virtualized memory, and a virtualized DMA controller. When the guest OS attempts to initiate a DMA transfer using the virtualized DMA controller, the child partition detects this, and directs the physical DMA controller to conduct the DMA transfer.
Claims20
A method for offloading transferring data between a virtualized hardware device and a child partition from a central processing unit (CPU) of a host computer having a host partition, the child partition comprising a guest operating system (OS), comprising:
- determining, by the child partition, that the guest OS has attempted to instruct a virtualized hardware device of the child partition to copy data to a destination;
- instructing the CPU, by the a virtual machine manager (VMM) that enables the child partition, to process an instruction indicative of instructing a physical hardware device other than the CPU to write the data to the destination, the physical hardware device corresponding to the virtual hardware device;
- and
- causing the CPU to instruct the physical hardware device to write the data to the destination.
A system for offloading transferring data between a virtualized hardware device and a child partition comprising a guest operating system (OS), comprising:
- a processor;
- and
- a memory communicatively coupled to the processor when the system is operational, the memory bearing processor-executable instructions that, when executed on the processor, cause operations comprising:
- determining, by the child partition, that the guest OS has attempted to instruct a virtualized hardware device of the child partition to write data to a destination;
- instructing the CPU, by a virtual machine manager (VMM) that supports the child partition, to process an instruction indicative of instructing a physical hardware device other than the CPU to write the data to the destination, the physical hardware device corresponding to the virtual hardware device;
- and
- causing the CPU to instruct the physical hardware device to write the data to the destination.
A computer-readable storage medium for offloading transferring data between a child partition comprising and a guest operating system (OS), bearing computer-readable instructions that, when executed on the computer, cause operations comprising:
- determining, by the child partition, that the guest OS has attempted to instruct a virtualized hardware device of the child partition to write data to a destination;
- instructing the CPU, by a Virtual Machine Manager (VMM) that supports the child partition, to process an instruction indicative of instructing a physical hardware device other than the CPU to write the data to the destination, the physical hardware device corresponding to the virtual hardware device;
- and
- causing the CPU to instruct the physical hardware device to write the data to the destination.
Dependencies are inferred from the claim text.