摘要:
A virtual machine control method for a supercomputer enables a plurality of virtual machines to use a vector processor. Control of the use of the vector processor is through the scalar processor. When a virtual machine requires use of the vector processor, it is first determined whether one of the other virtual machines operating systems is using the vector processor. If not, the scalar processor is dispatched to the operating system requesting use of the vector processor. If another virtual machine operating system is using the vector processor, then the operating system requesting use of the vector processor is placed in a wait state until the vector processor becomes free, whereupon the scalar processor is dispatched to the operating system that had been in the wait state. The condition of the vector processor being free can be communicated directly to the scalar processor without the intervention of the virtual machine monitor.
摘要:
In order to carry out address translation which can reduce an overhead of the VMCP to support a virtual storage, a flag indicating a common segment in the virtual machine and a system identifier are held in a TLB, and a VM identifier is held in a segment table origin stack. For the common segment, a current VM identifier is compared with the VM identifier in the segment table origin stack to determine validity of a TLB entry, and for a non-common segment, a system identifier read from the segment table origin stack is compared with the system identifier in the TLB entry to determine validity of the TLB entry.
摘要:
A system and method for continuous operation of a virtual machine system having operation modes including a guest mode in which virtual machines are operated and a nonguest mode in which a virtual machine monitor for controlling the virtual machines is operated. The continuous guest is a virtual machine which does not stop executing operation at the occurrence of a failure due to program error of the virtual machine monitor. A main storage is provided with two areas. One of the two areas is a continuous guest area having the same host absolute address in the nonguest mode as a guest absolute address in the guest mode, the area is used by the continuous guest which is a virtual machine which continues to operate on transition of the operation mode from the guest mode to the nonguest mode. The other is an area in which a program module for dispatching the continuous guest in response to the transition of the operation mode from the guest mode to the nonguest mode. The continuous guest is allocated to the guest area on transition of the operation mode from the guest mode to the nonguest mode. Occurrence of a failure due to a program error of the virtual machine monitor is detected and by starting the program module for dispatching the continuous guest in response to the detection of the occurrence of the failure, the operation of the continuous guest does not stop executing.
摘要:
A plural-OS run system in which a plurality of operating systems (OSs) capable of operating on machines of different architectures, respectively, are allowed to run on one bare machine under the control of one control program (CP) or one control means. The input/output instruction and input/output interrupt of the operating system capable of running on a machine of the same architecture as that of the bare machine are directly executed on the bare machine without need for translation of the format. The input/output instruction and the input/output interrupt of the operating system adapted to run on a machine of the architecture differing from that of the bare machine are allowed to be directly executed while translating the format.
摘要:
In a computer system having a central processing unit, a main storage and at least one I/O device, a plurality of operating systems (OS) can simultaneously run under the control of a control program. For executing an I/O instruction using a central processing unit, a plurality of resident areas of said main storage which do not overlap one another are assigned, under the control of the control program, to the plurality of OSs as main memories therefore, respectively. In responding to an I/O instruction issued by a running one of said plural OSs, an address of said main memory assigned to said running OS which participates in an I/Oo operation requested by said I/O instruction is determined without intervention of the control program, and the address is translated into an address of the main storage of the computer system without intervention of said control program. The I/O operation is then executed by using the address resulting from said address translation.
摘要:
A virtual machine system in which a plurality of operating systems (OS's) can run on one computer including a physical main storage (physical MS), and at least one physical extended storage (physical ES), each operating system (OS) of the OS's having a virtual MS on the physical MS and at least one virtual ES on the at least one physical ES. The system includes a first address translator for translating a virtual ES address designated by an instruction issued by one OS of the OS's on a virtual space generated by the one OS on one virtual ES of the at least one virtual ES of the one OS to a virtual physical ES address on the one virtual ES based on the virtual ES address and an address of an ES relocation table on the virtual MS of the one OS or an ES relocation register in the computer, the one virtual ES being on one physical ES of the at least one physical ES of the computer, and a second address translator for translating the virtual physical ES address to a physical ES address on the one physical ES based on the virtual physical ES address and a start address of the one virtual ES in the one physical ES.
摘要:
An I/O control system in a virtual machine system has at least one virtual machine (VM) running under control of a virtual machine control program (VMCP) and has a direct I/O execution mode in which an I/O interruption to the I/O device dedicated by the running VM is directly executed without intervention of the VMCP and an indirect I/O execution mode in which the I/O interruption is simulated. The I/O control system comprises identification portion for identifying the I/O device requesting the switching to the direct I/O execution mode, judge portion for judging a mode switching condition and mode selection portion for selecting one of the two modes. If the VM which contemplates the direct execution has not yet dedicated the I/O device requesting the mode switching, it dedicates the I/O device, and if the VM has not yet dedicated an I/O interrupt subclass which controls the I/O interruption of the I/O device, it dedicates the subclass, and the I/O device in the indirect I/O execution mode is switched to the direct I/O execution mode.
摘要:
An OS control method for controlling an operating system (OS) running in a computer system on which a plurality of OSs run and which includes an instruction processor, a control program for controlling running of a plurality of OSs, a main storage, an external storage device, and an address translation circuit. In the course of processing performed by the instruction processor, predetermined operation of the instruction processor is monitored to output trace data affixed with an address conforming to the running OS in accordance with predetermined conditions for the predetermined operation. Address for the running OS is translated into a real address on the main storage. A debugging assist unit outputs trace data to one of plural storing areas of the main storage corresponding to the running OS at the translated real address. In the state in which the storing area containing the real address on the main storage resulting from transaltion of the address for the running OS is paged out, the trace data for the running OS is outputted to a host trace area.
摘要:
A method and an apparatus for configuring multiple absolute address spaces are disclosed which simultaneously operate a plurality of virtual machines (VMs) respectively having operating systems on a single real computer by allocating a plurality of logical address spaces to an absolute address space. A different absolute address space is allocated to each of the VMs, whereby the respective VMs can access a main storage with a designated address without adding a constant to the designated address.
摘要:
A method and a system in a virtual machine system controlling a simultaneous run of one or more operating systems (OS's) by use of a virtual machine control program on a real machine including a storage area for each virtual processor constituting the virtual machine for saving a status of each virtual processor, for storing an active flag indicating whether or not the virtual processor is in the active state, and for storing a running priority specified for each virtual processor by the control program wherein when an OS being running issues an instruction to set the processor to the wait state, the instruction is directly executed, a state of the virtual processor being running is stored in the status save area, a processor is selected from processors for which the nonactive state is set, a virtual processor is selected according to the running priority from a group of virtual processors not in the wait state nor in the active state, and a content of the status save area of the virtual processor is set to the processor.