JPH10247147A - Virtual computer system - Google Patents

Virtual computer system

Info

Publication number
JPH10247147A
JPH10247147A JP6540197A JP6540197A JPH10247147A JP H10247147 A JPH10247147 A JP H10247147A JP 6540197 A JP6540197 A JP 6540197A JP 6540197 A JP6540197 A JP 6540197A JP H10247147 A JPH10247147 A JP H10247147A
Authority
JP
Japan
Prior art keywords
virtual machine
additional information
asynchronous transfer
transfer instruction
issued
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6540197A
Other languages
Japanese (ja)
Inventor
Koichi Matsumoto
浩一 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP6540197A priority Critical patent/JPH10247147A/en
Publication of JPH10247147A publication Critical patent/JPH10247147A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the virtual computer system which can be improve performance of the system by informing a semaphore on a virtual computer directly of the end event of an asynchronous transfer instruction on the virtual computer. SOLUTION: A host machine 20 is provided with an additional information setting part 21 which sets additional information regarding the issue origin of an asynchronous transfer instruction and an additional information judgement part 22 which specifies an asynchronous transfer instruction corresponding to data and an end even transferred from an extended storage device 30 and judges the contents of the additional information set for the asynchronous transfer instruction specified by the additional information setting part 21, and informs a semaphore on the virtual computer 10 directly of the end event of data transfer to the asynchronous transfer instruction when the asynchronous transfer instruction is issues by the virtual computer 10 corresponding to the contents of the the additional information judged by the additional information judgement part 22.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は、1台の計算機上で
複数の論理的な計算機である仮想計算機を実現する仮想
計算機システムに関し、特に拡張記憶装置と主記憶装置
との間における非同期伝送命令の終了事象報告の高速化
により性能向上を図った仮想計算機システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a virtual computer system for realizing a plurality of virtual computers as logical computers on one computer, and more particularly, to an asynchronous transmission command between an extended storage device and a main storage device. The present invention relates to a virtual machine system for improving performance by speeding up the end event report.

【0002】[0002]

【従来の技術】仮想計算機システムは、1台の計算機上
で複数の論理的な計算機である仮想計算機を実現し、仮
想計算機制御プログラムの制御の下で各仮想計算機上の
オペレーティングシステムの独立した走行を可能とす
る。
2. Description of the Related Art A virtual computer system realizes a plurality of virtual computers as logical computers on one computer, and independently runs an operating system on each virtual computer under the control of a virtual computer control program. Is possible.

【0003】従来、仮想計算機における拡張記憶装置に
対する非同期転送命令は、ホストマシンにおけるシミュ
レーションによって実行されていた。そして、該非同期
転送命令が終了した場合における終了事象の通知は、ホ
ストマシン上のセマフォに対して行われていた。
Conventionally, an asynchronous transfer instruction for an extended storage device in a virtual machine has been executed by simulation in a host machine. Then, the notification of the end event when the asynchronous transfer instruction ends has been made to the semaphore on the host machine.

【0004】そして、仮想計算機への終了事象の通知
は、ホストマシン上のセマフォに通知された終了事象
を、ソフトウェアシミュレーションによって仮想計算機
上のセマフォに通知し直すことにより行われていた。
[0004] The notification of the end event to the virtual machine is performed by notifying the semaphore on the host machine again to the semaphore on the virtual machine by software simulation.

【0005】この種の従来の仮想計算機システムとして
は、例えば、特開平2−54352号公報、特開平2−
123439号公報、特開平2−310648号公報等
に開示されたシステムがある。これらの従来の仮想計算
機システムは、仮想計算機上の非同期転送命令の終了事
象をホストマシン上のセマフォに通知するため、仮想計
算機への終了事象の報告処理をソフトウェアシミュレー
ションによって行わなくてはならなかった。
A conventional virtual computer system of this type is disclosed in, for example, Japanese Patent Application Laid-Open No. 2-54352,
There are systems disclosed in JP-A-123439 and JP-A-2-310648. In these conventional virtual machine systems, the end event of the asynchronous transfer instruction on the virtual machine is notified to the semaphore on the host machine, so that the process of reporting the end event to the virtual machine must be performed by software simulation. .

【0006】[0006]

【発明が解決しようとする課題】上述したように、従来
の仮想計算機システムは、仮想計算機上の非同期転送命
令の終了事象をホストマシン上のセマフォに通知するた
め、仮想計算機への終了事象の報告処理をソフトウェア
シミュレーションによって行わなくてはならず、効率が
悪く、システムの性能低下を招くという欠点があった。
As described above, the conventional virtual machine system reports the end event of the asynchronous transfer instruction on the virtual machine to the semaphore on the host machine, and thus reports the end event to the virtual machine. The processing has to be performed by software simulation, which has the drawbacks that efficiency is poor and system performance is reduced.

【0007】本発明は、上記従来の欠点を解決し、仮想
計算機上の非同期転送命令の終了事象を直接仮想計算機
上のセマフォに通知することを可能とすることにより、
システムの性能向上を図ることのできる仮想計算機シス
テムを提供することを目的とする。
[0007] The present invention solves the above-mentioned drawbacks of the prior art and makes it possible to notify the end event of an asynchronous transfer instruction on a virtual machine directly to a semaphore on the virtual machine.
It is an object of the present invention to provide a virtual computer system capable of improving system performance.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成する本
発明は、1台の計算機上で複数の非同期に動作する論理
的な計算機である仮想計算機を実現する仮想計算機シス
テムにおいて、前記仮想計算機をサポートするホストマ
シンが、前記仮想計算機または該ホストマシンから発行
された、拡張記憶装置に対する非同期転送命令に対し
て、該非同期転送命令の発行元に関する付加情報を設定
する付加情報設定手段と、前記拡張記憶装置から転送さ
れたデータ及び終了事象に対応する非同期転送命令を特
定し、前記付加情報設定手段により特定された非同期転
送命令に対して設定されている前記付加情報の内容を判
断する付加情報判断手段とを備え、前記付加情報判断手
段によって判断された付加情報の内容に応じて、前記非
同期転送命令が前記仮想計算機により発行されたもので
ある場合に、該非同期転送命令に対するデータ転送の終
了事象を、前記仮想計算機上のセマフォに直接通知する
ことを特徴とする。
SUMMARY OF THE INVENTION The present invention, which achieves the above object, is a virtual computer system for realizing a plurality of virtual machines, which are logical computers which operate asynchronously on one computer. An additional information setting means for setting, in response to an asynchronous transfer instruction to an extended storage device issued from the virtual machine or the host machine, additional information relating to the source of the asynchronous transfer instruction, Additional information for identifying an asynchronous transfer instruction corresponding to data and an end event transferred from the extended storage device and determining the content of the additional information set for the asynchronous transfer instruction identified by the additional information setting means Determining means for determining whether or not the asynchronous transfer instruction is transmitted in accordance with the content of the additional information determined by the additional information determining means. If the one issued by the virtual computer, the end event of the data transfer to the asynchronous transfer instruction, and notifies directly semaphores on the virtual machine.

【0009】請求項2の本発明の仮想計算機システム
は、前記付加情報設定手段により前記非同期転送命令に
対して設定される付加情報が、前記非同期転送命令が前
記仮想計算機から発行されたか前記ホストマシンから発
行されたかの別を示す第1の識別データと、前記非同期
転送命令が前記仮想計算機から発行されている場合に、
発行元である前記仮想計算機を識別するための第2の識
別データと、前記非同期転送命令が前記仮想計算機から
発行されている場合に、前記仮想計算機における終了事
象の通知先であるセマフォアドレスとを含むことを特徴
とする。
In the virtual machine system according to the present invention, the additional information set by the additional information setting means with respect to the asynchronous transfer instruction may be determined by determining whether the asynchronous transfer instruction has been issued from the virtual computer. And when the asynchronous transfer instruction is issued from the virtual machine,
Second identification data for identifying the virtual machine that is the issuer, and a semaphore address that is a notification destination of an end event in the virtual machine when the asynchronous transfer instruction is issued from the virtual machine. It is characterized by including.

【0010】請求項3の本発明の仮想計算機システム
は、前記付加情報判断手段により、前記拡張記憶装置か
ら受け取った終了事象が前記仮想計算機により発行され
た非同期転送命令に対するものであると判断された場合
に、前記ホストマシンが、前記付加情報判断手段により
抽出された前記仮想計算機を識別するための第1の識別
データに基づいて前記非同期転送命令を発行した前記仮
想計算機を特定し、前記特定した仮想計算機の主記憶空
間にアクセス可能な状態とし、前記付加情報判断手段に
より抽出されたセマフォアドレスに指されるセマフォに
前記終了事象を通知することを特徴とする。
In the virtual machine system according to the present invention, the additional information determining means determines that the end event received from the extended storage device is for an asynchronous transfer instruction issued by the virtual computer. In this case, the host machine specifies the virtual machine that has issued the asynchronous transfer instruction based on the first identification data for identifying the virtual machine extracted by the additional information determination unit, and specifies the specified virtual machine. The main memory space of the virtual machine can be accessed, and the termination event is notified to a semaphore pointed to by the semaphore address extracted by the additional information determination unit.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施例について図
面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1は、本発明の一実施例による仮想計算
機システムの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a virtual computer system according to one embodiment of the present invention.

【0013】図示のように、本実施例の仮想計算機シス
テムは、仮想計算機(VM)10と、ホストマシン(B
M)20と、拡張記憶装置(EMU)30とを備える。
なお、図1には本実施例の特徴的な構成のみを記載し他
の一般的な構成については記載を省略してある。
As shown in the figure, the virtual machine system of this embodiment includes a virtual machine (VM) 10 and a host machine (B).
M) 20 and an extended storage device (EMU) 30.
In FIG. 1, only the characteristic configuration of the present embodiment is described, and the description of other general configurations is omitted.

【0014】ホストマシン20は、仮想計算機10また
はホストマシン20により発行された非同期転送命令に
対して当該非同期転送命令の発行元に関する情報である
付加情報を設定する付加情報設定部21と、拡張記憶装
置30から転送されたデータ及び終了事象に対応する非
同期転送命令を特定して前記付加情報の内容を判断する
付加情報判断部22とを備える。そして、当該付加情報
22の内容に応じて拡張記憶装置30から転送されたデ
ータを処理し、必要に応じて終了事象を仮想計算機10
に送る。
The host machine 20 has an additional information setting unit 21 for setting, in response to the asynchronous transfer instruction issued by the virtual machine 10 or the host machine 20, additional information which is information relating to the source of the asynchronous transfer instruction, and an extended storage. An additional information determining unit for identifying an asynchronous transfer instruction corresponding to the data transferred from the device and an end event and determining the content of the additional information; Then, the data transferred from the extended storage device 30 is processed in accordance with the content of the additional information 22, and an end event is reported to the virtual machine 10 if necessary.
Send to

【0015】付加情報としては、少なくとも、当該非同
期転送命令が仮想計算機10から発行されたかホストマ
シン20から発行されたかの別を示すフラグデータと、
当該非同期転送命令が仮想計算機10から発行されてい
る場合に当該発行元である仮想計算機10を識別するた
めの識別データ(VM番号)と、当該仮想計算機10に
おける終了事象の通知先であるセマフォアドレスとを含
む。図2に付加情報の例を示す。図2において、ELC
TVM101にフラグデータを格納し、ELCTNUM
102にVM番号を格納し、ELCTSMA103にセ
マフォアドレスを格納する。
The additional information includes at least flag data indicating whether the asynchronous transfer instruction is issued from the virtual machine 10 or the host machine 20;
When the asynchronous transfer instruction is issued from the virtual machine 10, identification data (VM number) for identifying the virtual machine 10 that is the issuing source, and a semaphore address that is a notification destination of the end event in the virtual machine 10 And FIG. 2 shows an example of the additional information. In FIG. 2, ELC
The flag data is stored in the TVM 101, and the ELCTNUM
A VM number is stored in 102 and a semaphore address is stored in ELCTSMA 103.

【0016】次に、本実施例の動作について図3及び図
4のフローチャートを参照して説明する。
Next, the operation of this embodiment will be described with reference to the flowcharts of FIGS.

【0017】まず、仮想計算機10上で拡張記憶装置3
0と主記憶装置間の非同期転送命令が実行された場合を
説明する。なお、本動作例では、付加情報であるELC
TVM(x)、ELCTNUM(x)、ELCTSMA
(x)において、非同期転送命令が仮想計算機10から
発行された場合にx=bとし、ホストマシン20から発
行された場合にx=aとする。また、非同期転送命令が
仮想計算機10により発行された場合にELCTVM1
01に格納するフラグデータを“1”とし、ホストマシ
ン20により発行された場合にELCTVM101に格
納するフラグデータを“0”とする。
First, the extended storage device 3 on the virtual machine 10
A case where an asynchronous transfer instruction between 0 and the main storage device is executed will be described. Note that, in this operation example, ELC which is additional information
TVM (x), ELCTNUM (x), ELCTSMA
In (x), x = b when the asynchronous transfer instruction is issued from the virtual machine 10, and x = a when the asynchronous transfer instruction is issued from the host machine 20. Also, when the asynchronous transfer instruction is issued by the virtual machine 10, ELCTVM1
01 is set to “1”, and flag data stored in the ELCTVM 101 when issued by the host machine 20 is set to “0”.

【0018】仮想計算機10上で動作しているソフトウ
ェアが、非同期転送命令を実行すると(図3、ステップ
301)、本実施例を実現するハードウェアまたはファ
ームウェアは、仮想計算機10が動作中か否かを判定す
る(ステップ302)。仮想計算機10が非同期転送命
令を実行したのであるから、ステップ302では仮想計
算機10が動作中であると判断する。そして、当該ハー
ドウェアまたはファームウェアは、ホストマシン20に
て動作するソフトウェアに対してシミュレーションを要
求する(ステップ303)。
When the software running on the virtual machine 10 executes the asynchronous transfer command (step 301 in FIG. 3), the hardware or firmware for realizing the present embodiment determines whether the virtual machine 10 is operating. Is determined (step 302). Since the virtual machine 10 has executed the asynchronous transfer instruction, it is determined in step 302 that the virtual machine 10 is operating. Then, the hardware or firmware requests a simulation for software operating on the host machine 20 (step 303).

【0019】ホストマシン20は、仮想計算機10から
非同期転送命令のシミュレーション要求を受け付ける
と、当該シミュレーションを開始する(ステップ30
3)。そして、付加情報設定部21によって、当該非同
期転送命令に対する付加情報を設定する(ステップ30
4)。すなわち、ELCTVM(b)101に仮想計算
機10により発行されたことを示すフラグデータ“1”
を、ELCTNUM(b)102に当該仮想計算機10
のVM番号を、ELCTSMA(b)103に当該仮想
計算機における終了事象の通知先のセマフォアドレスを
格納する。以上の処理の後、拡張記憶装置30に対して
所望のデータの転送要求を行う。
When the host machine 20 receives the asynchronous transfer instruction simulation request from the virtual machine 10, the host machine 20 starts the simulation (step 30).
3). Then, the additional information setting unit 21 sets additional information for the asynchronous transfer instruction (step 30).
4). That is, the flag data “1” indicating that the virtual machine 10 has issued it to the ELCTVM (b) 101
To the virtual computer 10 in the ELCTNUM (b) 102.
And the semaphore address of the notification destination of the end event in the virtual machine is stored in the ELCTSMA (b) 103. After the above processing, a request for transferring desired data is made to the extended storage device 30.

【0020】ホストマシン20から拡張記憶装置30へ
データの転送要求が送られると、拡張記憶装置30にお
いて目的のデータの読み出し、転送が開始される、そし
て、当該データの転送が終了すると、拡張記憶装置30
からホストマシン20へ終了事象が通知される。
When a data transfer request is sent from the host machine 20 to the extended storage device 30, readout and transfer of target data are started in the extended storage device 30, and when the data transfer is completed, the extended storage Device 30
Notifies the host machine 20 of the termination event.

【0021】ホストマシン20は、拡張記憶装置30か
ら終了事象を受け取ると、当該終了事象に対応する非同
期転送命令、すなわち当該データの転送を要求した非同
期転送命令を特定する(図4、ステップ401)。そし
て、付加情報判断部22によって、当該非同期転送命令
に設定された付加情報を調べる(ステップ402)。こ
こでは、当該非同期転送命令が仮想計算機10により発
行されているため、ELCTVM(b)=“1”であ
る。そこで次に、ホストマシン20は、対応する仮想計
算機10のセマフォに終了事象を通知する処理を行う。
When receiving the end event from the extended storage device 30, the host machine 20 specifies the asynchronous transfer instruction corresponding to the end event, that is, the asynchronous transfer instruction that requested the data transfer (step 401 in FIG. 4). . Then, the additional information determining unit 22 checks the additional information set in the asynchronous transfer instruction (step 402). Here, since the asynchronous transfer instruction has been issued by the virtual machine 10, ELCTVM (b) = "1". Then, next, the host machine 20 performs a process of notifying the semaphore of the corresponding virtual machine 10 of the end event.

【0022】すなわち、まず、付加情報のELCTNU
M(b)に格納されているVM番号を持つ仮想計算機1
0に対しアドレス空間化を行って、当該仮想計算機10
の主記憶空間にアクセス可能な状態とする(ステップ4
03)。そして、付加情報のELCTSMA(b)から
当該仮想計算機10のセマフォのセマフォアドレスを取
り出し(ステップ404)、当該セマフォアドレスが指
すセマフォに終了事象を通知する(ステップ405)。
この後、ホストマシン20は、ホストマシン20自体の
アドレス空間化を行って、当該ホストマシン20の主記
憶空間にアクセス可能な状態に戻す。
That is, first, the additional information ELCTNU
Virtual machine 1 having a VM number stored in M (b)
0 for the virtual machine 10
(Step 4)
03). Then, the semaphore address of the semaphore of the virtual machine 10 is extracted from the additional information ELCTSMA (b) (step 404), and an end event is notified to the semaphore indicated by the semaphore address (step 405).
After that, the host machine 20 converts the address space of the host machine 20 itself into a state where the main storage space of the host machine 20 can be accessed.

【0023】以上のようにして、仮想計算機10から発
行された非同期転送命令に対する終了事象が、ホストマ
シン20におけるシミュレーションを介することなく、
直接当該仮想計算機10のセマフォに通知される。
As described above, the termination event for the asynchronous transfer instruction issued from the virtual machine 10 can be performed without passing through the simulation in the host machine 20.
The semaphore of the virtual machine 10 is notified directly.

【0024】次に、ホストマシン20上で拡張記憶装置
30と主記憶装置間の非同期転送命令が実行された場合
を説明する。
Next, a case where an asynchronous transfer instruction between the extended storage device 30 and the main storage device is executed on the host machine 20 will be described.

【0025】ホストマシン20上で動作しているソフト
ウェアが、非同期転送命令を実行すると(図3、ステッ
プ301)、本実施例を実現するハードウェアまたはフ
ァームウェアは、仮想計算機10が動作中か否かを判定
する(ステップ302)。ここでは、ホストマシン20
が非同期転送命令を実行したのであるから、ステップ3
02では仮想計算機10が動作していないと判断する。
そして、ホストマシン20は、付加情報設定部21によ
って、当該非同期転送命令に対する付加情報を設定する
(ステップ306)。すなわち、ELCTVM(a)1
01にホストマシン20により発行されたことを示すフ
ラグデータ“0”を格納する。ELCTNUM(a)及
びELCTSMA(a)には何も格納しない。以上の処
理の後、拡張記憶装置30に対して所望のデータの転送
要求を行う。
When the software running on the host machine 20 executes the asynchronous transfer instruction (step 301 in FIG. 3), the hardware or firmware for realizing this embodiment determines whether or not the virtual machine 10 is operating. Is determined (step 302). Here, the host machine 20
Executed the asynchronous transfer instruction, so that step 3
In 02, it is determined that the virtual machine 10 is not operating.
Then, the host machine 20 uses the additional information setting unit 21 to set additional information for the asynchronous transfer instruction (step 306). That is, ELCTVM (a) 1
01 is stored with flag data “0” indicating that it has been issued by the host machine 20. Nothing is stored in ELCTNUM (a) and ELCTSMA (a). After the above processing, a request for transferring desired data is made to the extended storage device 30.

【0026】ホストマシン20から拡張記憶装置30へ
データの転送要求が送られると、拡張記憶装置30にお
いて目的のデータの読み出し、転送が開始される、そし
て、当該データの転送が終了すると、拡張記憶装置30
からホストマシン20へ終了事象が通知される。
When a data transfer request is sent from the host machine 20 to the extended storage device 30, reading and transferring of target data is started in the extended storage device 30, and when the data transfer is completed, the extended storage Device 30
Notifies the host machine 20 of the termination event.

【0027】ホストマシン20は、拡張記憶装置30か
ら終了事象を受け取ると、当該終了事象に対応する非同
期転送命令、すなわち当該データの転送を要求した非同
期転送命令を特定する(図4、ステップ401)。そし
て、付加情報判断部22によって、当該非同期転送命令
に設定された付加情報を調べる(ステップ402)。こ
こでは、当該非同期転送命令がホストマシン20により
発行されているため、ELCTVM(a)=“0”であ
る。そこで、ホストマシン20は、当該ホストマシン2
0のセマフォに終了事象を通知する処理を行う(ステッ
プ407、408)。
When receiving the end event from the extended storage device 30, the host machine 20 specifies the asynchronous transfer instruction corresponding to the end event, that is, the asynchronous transfer instruction that requested the data transfer (step 401 in FIG. 4). . Then, the additional information determining unit 22 checks the additional information set in the asynchronous transfer instruction (step 402). Here, since the asynchronous transfer instruction has been issued by the host machine 20, ELCTVM (a) = "0". Therefore, the host machine 20
A process of notifying the semaphore of 0 of the end event is performed (steps 407 and 408).

【0028】以上好ましい実施例をあげて本発明を説明
したが、本発明は必ずしも上記実施例に限定されるもの
ではない。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments.

【0029】[0029]

【発明の効果】以上説明したように、本発明の仮想計算
機システムは、仮想計算機により発行された非同期転送
要求に対して、当該非同期転送要求の発行元に関する付
加情報を設定し、データ転送が終了すると、当該付加情
報に基づいて非同期転送要求の発行元である仮想計算機
を探索して、当該仮想計算機のセマフォに直接終了事象
を通知する。したがって、終了事象を通知する際にホス
トマシンにおけるシミュレーションを介してホストマシ
ン上のセマフォから仮想計算機上のセマフォに通知し直
す必要がないため、仮想計算機への終了事象の報告処理
を高速に行い、システムの性能低下を防止するという効
果がある。
As described above, the virtual machine system of the present invention sets additional information on the source of the asynchronous transfer request for the asynchronous transfer request issued by the virtual machine, and terminates the data transfer. Then, based on the additional information, a search is made for the virtual machine that is the source of the asynchronous transfer request, and the semaphore of the virtual machine is notified of the end event directly. Therefore, when notifying the end event, it is not necessary to notify the semaphore on the virtual machine again from the semaphore on the host machine via the simulation on the host machine, so that the process of reporting the end event to the virtual machine is performed at high speed. This has the effect of preventing a decrease in system performance.

【0030】また、仮想計算機への終了事象の報告処理
をホストマシンにおけるシミュレーションを介さずに行
うため、ホストマシンにおけるメインの処理と分離する
ことができる。これにより、ホストマシンにおけるメイ
ンの処理の優先度を高く設定しておけば、当該メインの
処理を優先的に実行することができ、ホストマシンの性
能低下を回避し、システム全体の処理効率を向上させる
ことができる。
Further, since the process of reporting the end event to the virtual machine is performed without going through the simulation in the host machine, it can be separated from the main process in the host machine. As a result, if the priority of the main processing in the host machine is set high, the main processing can be executed with priority, thereby avoiding a decrease in the performance of the host machine and improving the processing efficiency of the entire system. Can be done.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施例による仮想計算機システム
の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a virtual computer system according to one embodiment of the present invention.

【図2】 本実施例による付加情報の例を示す図。FIG. 2 is a diagram showing an example of additional information according to the embodiment.

【図3】 本実施例の動作を示すフローチャートであっ
て、非同期転送命令の実行から拡張記憶装置に対する転
送要求を行うまでの動作を示す図。
FIG. 3 is a flowchart showing the operation of the present embodiment, showing the operation from execution of an asynchronous transfer instruction to issuing a transfer request to an extended storage device.

【図4】 本実施例の動作を示すフローチャートであっ
て、転送終了後の終了事象の報告処理を示す図。
FIG. 4 is a flowchart showing the operation of the embodiment, and is a diagram showing a process of reporting an end event after the end of transfer.

【符号の説明】[Explanation of symbols]

10 仮想計算機 20 ホストマシン 21 付加情報設定部 22 付加情報判断部 30 拡張記憶装置 DESCRIPTION OF SYMBOLS 10 Virtual machine 20 Host machine 21 Additional information setting part 22 Additional information judgment part 30 Extended storage device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1台の計算機上で複数の非同期に動作す
る論理的な計算機である仮想計算機を実現する仮想計算
機システムにおいて、 前記仮想計算機をサポートするホストマシンが、 前記仮想計算機または該ホストマシンから発行された、
拡張記憶装置に対する非同期転送命令に対して、該非同
期転送命令の発行元に関する付加情報を設定する付加情
報設定手段と、 前記拡張記憶装置から転送されたデータ及び終了事象に
対応する非同期転送命令を特定し、前記付加情報設定手
段により特定された非同期転送命令に対して設定されて
いる前記付加情報の内容を判断する付加情報判断手段と
を備え、 前記付加情報判断手段によって判断された付加情報の内
容に応じて、前記非同期転送命令が前記仮想計算機によ
り発行されたものである場合に、該非同期転送命令に対
するデータ転送の終了事象を、前記仮想計算機上のセマ
フォに直接通知することを特徴とする仮想計算機システ
ム。
1. A virtual machine system for realizing a plurality of virtual machines which are logical machines which operate asynchronously on one machine, wherein a host machine supporting the virtual machine is the virtual machine or the host machine. Issued by
Additional information setting means for setting additional information relating to the issue source of the asynchronous transfer instruction for the asynchronous transfer instruction to the extended storage device; And additional information determining means for determining the content of the additional information set for the asynchronous transfer instruction specified by the additional information setting means, wherein the content of the additional information determined by the additional information determining means is provided. Wherein, if the asynchronous transfer instruction is issued by the virtual machine, a data transfer end event for the asynchronous transfer instruction is directly notified to a semaphore on the virtual machine. Computer system.
【請求項2】 前記付加情報設定手段により前記非同期
転送命令に対して設定される付加情報が、 前記非同期転送命令が前記仮想計算機から発行されたか
前記ホストマシンから発行されたかの別を示す第1の識
別データと、 前記非同期転送命令が前記仮想計算機から発行されてい
る場合に、発行元である前記仮想計算機を識別するため
の第2の識別データと、 前記非同期転送命令が前記仮想計算機から発行されてい
る場合に、前記仮想計算機における終了事象の通知先で
あるセマフォアドレスとを含むことを特徴とする請求項
1に記載の仮想計算機システム。
2. The additional information set for the asynchronous transfer instruction by the additional information setting means indicates whether the asynchronous transfer instruction is issued from the virtual machine or issued from the host machine. When the asynchronous transfer instruction is issued from the virtual machine, second identification data for identifying the issuing virtual machine, and the asynchronous transfer instruction is issued from the virtual machine. 2. The virtual machine system according to claim 1, further comprising a semaphore address to which the virtual machine is notified of an end event.
【請求項3】 前記付加情報判断手段により、前記拡張
記憶装置から受け取った終了事象が前記仮想計算機によ
り発行された非同期転送命令に対するものであると判断
された場合に、 前記ホストマシンが、 前記付加情報判断手段によって抽出された前記仮想計算
機を識別するための第1の識別データに基づいて、前記
非同期転送命令を発行した前記仮想計算機を特定し、 前記特定した仮想計算機の主記憶空間にアクセス可能な
状態とし、 前記付加情報判断手段によって抽出されたセマフォアド
レスに指されるセマフォに前記終了事象を通知すること
を特徴とする請求項2に記載の仮想計算機システム。
3. When the additional information determining unit determines that the end event received from the extended storage device is for an asynchronous transfer instruction issued by the virtual machine, the host machine executes the additional process. On the basis of the first identification data for identifying the virtual machine extracted by the information judging means, the virtual machine that has issued the asynchronous transfer instruction is specified, and the main storage space of the specified virtual machine can be accessed. 3. The virtual computer system according to claim 2, wherein the semaphore pointed to by the semaphore address extracted by the additional information determination unit is notified of the end event.
JP6540197A 1997-03-04 1997-03-04 Virtual computer system Pending JPH10247147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6540197A JPH10247147A (en) 1997-03-04 1997-03-04 Virtual computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6540197A JPH10247147A (en) 1997-03-04 1997-03-04 Virtual computer system

Publications (1)

Publication Number Publication Date
JPH10247147A true JPH10247147A (en) 1998-09-14

Family

ID=13285965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6540197A Pending JPH10247147A (en) 1997-03-04 1997-03-04 Virtual computer system

Country Status (1)

Country Link
JP (1) JPH10247147A (en)

Similar Documents

Publication Publication Date Title
US6275893B1 (en) Method and apparatus for providing seamless hooking and intercepting of selected kernel and HAL exported entry points in an operating system
US4887202A (en) Input-output control method in a virtual machine system
AU613823B2 (en) Virtual computer system having improved input/output interrupt control
US7234004B2 (en) Method, apparatus and program product for low latency I/O adapter queuing in a computer system
US20040083481A1 (en) System and method for transferring data between virtual machines or other computer entities
US5896141A (en) System and method for virtual device access in a computer system
US20080028402A1 (en) Method of setting operation environment and computer system
JP2000330806A (en) Computer system
EP0071782B1 (en) Multi subchannel adapter with a single status/address register
US7996648B2 (en) Coupled symbiotic operating systems
US5371857A (en) Input/output interruption control system for a virtual machine
US5392409A (en) I/O execution method for a virtual machine system and system therefor
US20210096901A1 (en) Shared memory buffers to submit an interrupt request worklist to a back end virtual machine
EP0290942A2 (en) Guest machine execution control system for virtual machine system
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
JPH10247147A (en) Virtual computer system
US20020087775A1 (en) Apparatus and method for interrupt delivery
JP2002024007A (en) Processor system
JP3261665B2 (en) Data transfer method and data processing system
US5603057A (en) System for initiating data transfer between input/output devices having separate address spaces in accordance with initializing information in two address packages
JP4522292B2 (en) Image processing apparatus and image processing method
JP3123946B2 (en) Microcomputer
JP2000155738A (en) Data processor
JPH0844659A (en) Data transfer controller
JPH0675793A (en) Processing method for transmitting and receiving data between virtual computers