Virtual system for detecting access paths belonging to same group from plurality of access paths to reach device designated by command with reference to table
First Claim
1. An input/output control method of a virtual machine system, comprising:
- an allocating step of allocating either one of a plurality of input/output devices to each of a plurality of virtual machines which are realized on a real machine by a monitor section as a software to control the virtual machine system in a one-to-one corresponding manner;
a group ID holding step of defining access paths, which form logical couplings of a number as many as the number of a plurality of channel devices with respect to one of said input/output devices as access paths, each of which reaches each of said input/output devices via said plurality of virtual machines, said plurality of channel devices, and an input/output control unit on the basis of the result of the allocation in said allocating step, and of holding each group ID set by each of said virtual machines for every access path into a table in said input/output control unit;
an input/output executing step of detecting the access paths belonging to the same group from among said plurality of access paths which reach the input/output device designated by a command with reference to said table and executing input/output operations when an input/output command issued from either one of said plurality of virtual machines is received by said input/output control unit; and
a clearing step of clearing a special group ID provided for the input/output control unit by an instruction of said monitor section.
1 Assignment
0 Petitions
Accused Products
Abstract
In a format such that a plurality of input/output devices are allocated to a plurality of virtual machines in a one-to-one corresponding manner, a group ID issued from each of the virtual machines is held into a table every plurality of access paths which reach a plurality of input/output devices via a plurality of channel devices and an input/output control unit. When an input/output command issued from the virtual machine is received, the access paths belonging to the same group are detected from among a plurality of access paths which reach the input/output device which executes a command with reference to the table and the input/output operations are executed. Even in a format such that one disk unit is commonly used by a plurality of virtual machines, since the disk control unit can recognize the plurality of virtual machines, an exclusive control is executed without needing the use of a monitor section.
78 Citations
27 Claims
-
1. An input/output control method of a virtual machine system, comprising:
-
an allocating step of allocating either one of a plurality of input/output devices to each of a plurality of virtual machines which are realized on a real machine by a monitor section as a software to control the virtual machine system in a one-to-one corresponding manner; a group ID holding step of defining access paths, which form logical couplings of a number as many as the number of a plurality of channel devices with respect to one of said input/output devices as access paths, each of which reaches each of said input/output devices via said plurality of virtual machines, said plurality of channel devices, and an input/output control unit on the basis of the result of the allocation in said allocating step, and of holding each group ID set by each of said virtual machines for every access path into a table in said input/output control unit; an input/output executing step of detecting the access paths belonging to the same group from among said plurality of access paths which reach the input/output device designated by a command with reference to said table and executing input/output operations when an input/output command issued from either one of said plurality of virtual machines is received by said input/output control unit; and a clearing step of clearing a special group ID provided for the input/output control unit by an instruction of said monitor section. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An input/output control apparatus of a virtual machine system, comprising:
-
a plurality of virtual machines which are realized on a real machine by a monitor section as a software to control the virtual machine system and which executes input/output controls by an independent operating system; a plurality of input/output devices allocated to each of said plurality of virtual machines in a one-to-one corresponding manner; an input/output control unit coupled to each of said plurality of input/output devices; and at least two channel devices to couple said input/output control unit to said plurality of virtual machines, wherein said input/output control unit has group ID holding means for defining access paths forming logical couplings of a number as many as the number of said channel devices with respect to one of said input/output devices as access paths each of which starts from each of said plurality of virtual machines and reaches each of said plurality of input/output devices via the channel devices and the input/output control unit, and for holding each group ID set by each of said plurality of virtual machines for each of said plurality of access paths into a table, clearing means for clearing a special group ID held in said table of said group ID holding means, and input/output executing means for detecting the access paths belonging to the same group from among said plurality of access paths which reach the input/output device designated by a command with reference to the table in said group ID holding means and for executing input/output operations. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. An input/output control method of a virtual machine system, comprising:
-
an allocating step of commonly allocating one input/output device which is coupled by a physical access path forming at least one physical coupling and logical access paths forming two logical couplings through channel devices and one input/output control unit to a plurality of virtual machines which are realized on a real machine by a monitor section as a software to control the virtual machine system; a group ID holding step of holding a corresponding relation between said plurality of logical access paths and said one physical access path and a group ID set by each of said virtual machines every said plurality of logical access paths into a table in said input/output control unit on the basis of the result of said allocation in said allocating step; an exclusive control step of converting the logical access paths into the physical access path with reference to said table and controlling a competition of the physical access paths when an input/output command issued from either one of said plurality of virtual machines is received by the input/output control unit; and an input/output executing step of executing an input/output command to the input/output devices on the basis of the result of the control in said exclusive control step. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. An input/output control apparatus of a virtual machine system, comprising:
-
a plurality of virtual machines which are realized on a real machine by a monitor section as a software to control the virtual machine system and execute input/output controls by an independent operating system; one input/output device commonly allocated to said plurality of virtual machines; an input/output control unit coupled to said input/output device by one physical access path serving as a physical coupling; and at least one channel device which is coupled to said plurality of virtual machines by a plurality of logical access paths serving as logical couplings via said input/output control unit, wherein said input/output control unit has group ID holding means for converting said plurality of logical access paths instructed by an input/output command from each of said plurality of virtual machines into a single physical access path and for holding each group ID set by each of said virtual machines into a table for each of said plurality of logical access paths which start from said plurality of virtual machines and reach said input/output devices, clearing means for clearing a special group ID held in the table of said group ID holding means, exclusive control means for converting the logical access paths designated by the input/output command into the physical access path with reference to the table of the group ID holding means and for controlling a competition of the accesses, and input/output executing means for executing the input/output commands to the input/output devices on the basis of the result of the control of said exclusive control means. - View Dependent Claims (22, 23, 24, 25, 26, 27)
-
Specification