Computer system, device sharing method, and device sharing program
First Claim
1. A computer system capable of connecting a plurality of physical computers to an I/O device through an I/O switch and sharing the I/O device;
- wherein the plurality of physical computers each include a plurality of LPARs built on the physical computers, and a plurality of virtual machine monitors for managing the plurality of LPARs;
wherein the I/O device includes a PF (Physical Function), which can be allocated to one of the plurality of physical computers, and a plurality of VFs (Virtual Functions), which can be allocated to the plurality of LPARs;
wherein the plurality of virtual machine monitors include a first virtual machine monitor to which the PF in the I/O device is allocated, and a second virtual machine monitor to which the PF is not allocated;
wherein the first and second virtual machine monitors include VF execution means for executing a VF event for the plurality of VFs in the I/O device, which is allocated to the plurality of LPARs; and
wherein the first virtual machine monitor includes PF execution means for executing a PF event for the PF in the I/O device, which is detected by the first or second virtual machine monitor.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosed is a computer system enabling a plurality of LPARs on a plurality of physical computers to share an SR-IOV device that requires an interface between a PF and a VF. In an environment where a PCI SR-IOV device is allocated to virtual machine monitors on a plurality of physical computers through an I/O switch, a PF is allocated to a first virtual machine monitor and a plurality of VFs is allocated to an LPAR on an optional virtual machine monitor. When a second virtual machine monitor detects an event that is generated from a VF to the PF, the second virtual machine monitor communicates the detected event to the first virtual machine monitor to which the PF is allocated, and allows the first virtual machine monitor to execute the PF event. Further, when the first virtual machine monitor detects an event that is generated from the PF to a VF, the first virtual machine monitor communicates the detected event to the second virtual machine monitor to which a target VF is allocated, and allows an LPAR on the second virtual machine monitor to execute the VF event.
102 Citations
14 Claims
-
1. A computer system capable of connecting a plurality of physical computers to an I/O device through an I/O switch and sharing the I/O device;
-
wherein the plurality of physical computers each include a plurality of LPARs built on the physical computers, and a plurality of virtual machine monitors for managing the plurality of LPARs; wherein the I/O device includes a PF (Physical Function), which can be allocated to one of the plurality of physical computers, and a plurality of VFs (Virtual Functions), which can be allocated to the plurality of LPARs; wherein the plurality of virtual machine monitors include a first virtual machine monitor to which the PF in the I/O device is allocated, and a second virtual machine monitor to which the PF is not allocated; wherein the first and second virtual machine monitors include VF execution means for executing a VF event for the plurality of VFs in the I/O device, which is allocated to the plurality of LPARs; and wherein the first virtual machine monitor includes PF execution means for executing a PF event for the PF in the I/O device, which is detected by the first or second virtual machine monitor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A device sharing method for use in a computer system that is configured by connecting a plurality of physical computers, which each include one or more LPARs built on each physical computer and a plurality of virtual machine monitors for managing the plurality of LPARs, to a PCI-SIG-compliant SR-IOV (Single Root I/O Virtualization) device, which includes a PF (Physical Function) that can be allocated to one of the physical computers and a plurality of VFs (Virtual Functions) that can be allocated to the plurality of LPARs, through an I/O switch, the device sharing method comprising the steps of:
-
configuring the plurality of virtual machine monitors including a first virtual machine monitor to which the PF in the SR-IOV device is allocated and a second virtual machine monitor to which the PF cannot be allocated; executing, in the first and second virtual machine monitors, a VF event for the plurality of VFs in the SR-IOV device, which is allocated to the plurality of LPARs; and executing, in the first virtual machine monitor, a PF event for the PF in the SR-IOV device, which is detected by the first or second virtual machine monitor. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer readable medium storing a device sharing program to be executed in a computer system that is configured by connecting a plurality of physical computers, which each include one or more LPARs built on each physical computer and a virtual machine monitor for managing the plurality of LPARs, to a PCI-SIG-compliant SR-IOV (Single Root I/O Virtualization) device, which includes a PF (Physical Function) that can be allocated to one of the physical computers and a plurality of VFs (Virtual Functions) that can be allocated to the plurality of LPARs, through an I/O switch, the device sharing program comprising:
-
means for executing, in the first virtual machine monitor to which the PF in the SR-IOV device is allocated and in the second virtual machine monitor to which the PF is not allocated, a VF event for the plurality of VFs in the SR-IOV device, which is allocated to the plurality of LPARs; and means for executing, in the first virtual machine monitor, a PF event for the PF in the SR-IOV device, which is detected by the first or second virtual machine monitor.
-
Specification