JPH03282828A - Input/output device switching system - Google Patents

Input/output device switching system

Info

Publication number
JPH03282828A
JPH03282828A JP2084126A JP8412690A JPH03282828A JP H03282828 A JPH03282828 A JP H03282828A JP 2084126 A JP2084126 A JP 2084126A JP 8412690 A JP8412690 A JP 8412690A JP H03282828 A JPH03282828 A JP H03282828A
Authority
JP
Japan
Prior art keywords
input
output device
virtual
virtual machine
virtual computer
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
JP2084126A
Other languages
Japanese (ja)
Inventor
Naomi Yamamura
山村 直美
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 JP2084126A priority Critical patent/JPH03282828A/en
Publication of JPH03282828A publication Critical patent/JPH03282828A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate trouble to operate an input/output device by dynamically releasing the input/output device assigned to a virtual computer and dynamically assigning a real input/output device to the virtual computer. CONSTITUTION:Switching of the input/output device used by one virtual computer to another virtual computer is indicated in accordance with the real input/ output device name, the virtual computer name to be assigned, and the virtual input/output device name to be assigned, and an input/output device switching discriminating means 2 takes the real input/output device name, the virtual computer name, and the virtual input/output device name as the input to discriminate whether the real input/output device name can be switched to another virtual computer or not. The input/output device assigned to the virtual computer is dynamically released by a virtual computer input/output device dynamic release means 3, and the real input/output device is dynamically assigned to the virtual computer by a virtual computer input/output device dynamic assignment means 4. Thus, the time required for operation is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮想計算機システムにおける入出力装置切替
え方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output device switching method in a virtual computer system.

〔従来の技術〕[Conventional technology]

従来、この種の入出力装置切替え方式では、以下に述べ
る操作を行っていた。
Conventionally, in this type of input/output device switching method, the following operations have been performed.

まず、入出力装置を使用していた仮想計算機に対して入
出力装置の解放操作を行う。次に、改めて他方の仮想計
算機に対する入出力装置の割り当て操作を行う。そして
、これらの操作を、切り替えが必要な入出力装置全てに
対してそれぞれ行っていた。
First, an operation to release the input/output device is performed on the virtual machine that was using the input/output device. Next, the operation of allocating the input/output device to the other virtual machine is performed again. These operations are then performed for each input/output device that requires switching.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の入出力装置切替え方式においては、一つ
の仮想計算機で使用していた入出力装置を他方の仮想計
算機に割り当てる場合、一つの仮想計算機に対する解放
操作と他方の仮想計算機に対する割当て操作という、2
つの操作が必要であった。
In the conventional input/output device switching method described above, when assigning an input/output device used by one virtual machine to another virtual machine, a release operation for one virtual machine and an assignment operation for the other virtual machine are performed. 2
Two operations were required.

特に、複数の入出力装置を切り替える場合、入出力装置
毎にこれらの操作を行わなければならないため、操作が
煩わしいという欠点があった。
In particular, when switching between a plurality of input/output devices, these operations must be performed for each input/output device, which has the disadvantage of being cumbersome.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の方式は、一つの仮想計算機が使用していた入出
力装置を他方の仮想計算機で使用するように切替える入
出力装置切替え方式において、実入出力装置名2割り当
てる仮想計算機名および割り当てる仮想入出力装置名に
よって、一つの仮想計算機が使用していた実入出力装置
を他の仮想計算機に切り替えることを指示する入出力装
置切替え指示手段と、 前記実入出力装置名、仮想計算機名および仮想入出力装
置名を入力として、前記実入出力装置名が他の仮想計算
機に切り替え可能か否を判定する入出力装置切替え判定
手段と、 仮想計算機に割り当てられている人出カ装置を動的に解
放する仮想計算機入出力装置動的解放手段と、 前記実入出力装置を仮想計算機に動的に割り当てる仮想
計算機入出力装置動的割当て手段とを有する。
The method of the present invention is an input/output device switching method in which an input/output device used by one virtual machine is switched to be used by another virtual computer. an input/output device switching instruction means for instructing to switch a real input/output device used by one virtual machine to another virtual machine based on an output device name; input/output device switching determination means that receives an output device name as input and determines whether the actual input/output device name can be switched to another virtual machine; and virtual machine input/output device dynamic allocation means for dynamically allocating the actual input/output device to a virtual machine.

〔実施例〕〔Example〕

次に、本発明について、図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の構成を表す図であり、入出力装置切替
え指示手段l2人出力装置切替え判定手段2.仮想計算
機入出力装置動的解放手段3および仮想計算機入出力装
置動的割当て手段4がら成る。
FIG. 1 is a diagram showing the configuration of the present invention, in which input/output device switching instruction means 12 output device switching determination means 2. It consists of a virtual machine input/output device dynamic release means 3 and a virtual machine input/output device dynamic allocation means 4.

第2図、第3図、第4図は、それぞれ入出力装置切替え
判定手段2.仮想計算機入出力装置動的解放手段3.仮
想計算機入出力装置動的割当て手段4での処理を表す図
、第5図は仮想計算機入出力装置動的解放手段3および
、仮想計算機人出ヵ装置動 割当て手段4により参照さ
れるテーブルの詳細を示す。
FIG. 2, FIG. 3, and FIG. 4 respectively show input/output device switching determination means 2. Virtual machine input/output device dynamic release means 3. FIG. 5 is a diagram showing the processing by the virtual computer input/output device dynamic allocation means 4, and details of the table referred to by the virtual computer input/output device dynamic release means 3 and the virtual computer input/output device dynamic allocation means 4. shows.

仮想計算機で使用する入出力装置は、第5図に示す実入
出力装置テーブル41および仮想入出力装置テーブル4
2により管理されている。実入出力装置テーブル41は
仮想計算機システムに1つ、仮想入出力装置テーブル4
2は仮想計算機毎に1つ存在する。また、入出力装置テ
ーブル41、仮想入出力装置テーブル42は、それぞれ
入出力装置名毎に1エントリを構成している。
The input/output devices used in the virtual machine are shown in the real input/output device table 41 and the virtual input/output device table 4 shown in FIG.
It is managed by 2. There is one real input/output device table 41 in the virtual computer system, and one virtual input/output device table 4.
2 exists for each virtual machine. Further, the input/output device table 41 and the virtual input/output device table 42 each have one entry for each input/output device name.

入出力装置を仮想計算機に割り当てた場合、実入出力装
置テーブル41の該当エントリには、割り当て状態を示
すフラグ、割当て仮想計算機名および対応する仮想入出
力装置テーブル42のエントリアドレスがセットされる
。また、仮想入出力装置テーブル42の該当エントリに
は、割り当て状態を示すフラグと、対応する実入出力装
置テーブル41のエントリアドレスがセットされる。
When an input/output device is assigned to a virtual machine, a flag indicating the assignment status, the assigned virtual machine name, and the corresponding entry address of the virtual input/output device table 42 are set in the corresponding entry of the actual input/output device table 41. Further, in the corresponding entry of the virtual input/output device table 42, a flag indicating the allocation state and the corresponding entry address of the real input/output device table 41 are set.

複数の仮想計算機が動作中に、一つの仮想計算機で使用
していた装置を他の仮想計算機に切り替える場合、入出
力装置切替え指示手段1により、切り替える実入出力装
置名2割り当てる仮想計算機名および割り当てる仮想入
出力装置名という情報を与え、入出力装置の切り替えを
指示する。
When switching a device used by one virtual machine to another virtual machine while multiple virtual machines are operating, the input/output device switching instruction means 1 determines the actual input/output device name to be switched 2 and the virtual machine name to be assigned. Provides information called virtual I/O device name and instructs to switch I/O devices.

入出力装置切替え指示手段1は、実入比カ装置名、仮想
計算機名および仮想入出力装置名を出方とじて、入出力
装置切替え判定手段2に制御を渡す。
The input/output device switching instruction means 1 passes control to the input/output device switching determining means 2 using the actual input ratio device name, virtual computer name, and virtual input/output device name as outputs.

入出力装置切替え判定手段2は、まず、実入出力装置名
を入力として、実入出力装置テーブル41の該当するエ
ントリーをサーチする(第2図のステップ11)。そし
て、割当て状態フラグにより、実入出力装置が割り当て
状態が、否がを判定(12)L、割り当て状態でなけれ
ば、切り替え不可状態とする。
The input/output device switching determination means 2 first searches for a corresponding entry in the actual input/output device table 41 using the actual input/output device name as input (step 11 in FIG. 2). Then, based on the allocation status flag, it is determined whether the actual input/output device is in the allocated status (12)L, and if it is not in the allocated status, it is set to a non-switchable status.

次に、仮想入出力装置名、割り当てる仮想計算機名を入
力として、仮想人出刃装置テーブル42の該当するエン
トリをサーチする(13)。そして、割当て状態フラグ
により、仮想人出方装置が既に割り当て状態であるか、
否かを判定しく14)、割り当て状態であれば、切り替
え不可状態とする。
Next, by inputting the virtual input/output device name and the name of the virtual computer to be assigned, a corresponding entry in the virtual human blade device table 42 is searched (13). Then, depending on the allocation status flag, whether the virtual person appearance device is already in the allocation status or not,
It is determined whether or not 14), and if it is in the allocated state, it is set as a non-switchable state.

実入出力装置が割り当て状態で、仮想入出力装置が未割
り当て状態であれば、切り替え可能状態とし、実入出力
装置を割り当てている仮想計算機名の取出しく15)、
対応する仮想入出力装置テーブル42のエントリアドレ
スの取出しを行う(16)。
If the real input/output device is in an allocated state and the virtual input/output device is in an unallocated state, it is set to a switchable state and the name of the virtual computer to which the real input/output device is allocated is retrieved.15)
The entry address of the corresponding virtual input/output device table 42 is retrieved (16).

入出力装置切替え判定手段2の結果、入出力装置が切り
替え不可と判定されると、処理を終了し、切り替え可能
状態であると判定されると、仮想計算機入出力装置動的
解放手段3に制御が渡される。
If the input/output device switching determining means 2 determines that the input/output device cannot be switched, the process ends, and if it is determined that the input/output device is switchable, the virtual computer input/output device dynamic release means 3 controls the input/output device. is given.

仮想計算機入出力装置動的解放手段3は、実入出力装置
テーブル41のエントリアドレス、割り当て仮想計算機
名、および、処理14によって得られた仮想入出力装置
テーブル42のエントリアドレス、を入力とする。
The virtual machine input/output device dynamic release means 3 receives as input the entry address of the real input/output device table 41, the allocated virtual machine name, and the entry address of the virtual input/output device table 42 obtained by the process 14.

そして、実入力装置テーブル41該当エントリの割当て
状態をリセットしく第3図のステップ21)、仮想入出
力装置テーブル42該当エントリの割り当て状態をリセ
ットする(22)。また、入出力装置を割り当て使用し
ていた仮想計算機に、入出力装置がオフラインに遷移し
たことを通知する。(23)。これにより、入出力装置
は、−時的に解放(未割り当て)状態となる。
Then, the allocation state of the corresponding entry in the real input device table 41 is reset (step 21 in FIG. 3), and the allocation state of the corresponding entry in the virtual input/output device table 42 is reset (22). It also notifies the virtual machine that was using the assigned input/output device that the input/output device has gone offline. (23). As a result, the input/output device becomes temporarily released (unallocated).

続いて、仮想計算機入出力装置動的割当て手段4が動作
する。仮想計算機入出力装置動的割当て手段4は、入出
力装置を割り当てる仮想計算機名、およびステップ13
により得られた仮想入力装置テーブル42のエントリア
ドレスと実入出力装置テーブル41のエントリアドレス
を入力とする。
Subsequently, the virtual machine input/output device dynamic allocation means 4 operates. The virtual computer input/output device dynamic allocation means 4 assigns the virtual computer name to which the input/output device is to be allocated, and step 13
The entry address of the virtual input device table 42 and the entry address of the real input/output device table 41 obtained by the above are input.

そして、仮想入出力装置テーブル42の該当エントリに
割当て状態フラグおよび対応する実入出力装置テーブル
41のエントリアドレスをセットする(第4図のステッ
プ31)。
Then, the allocation state flag and the corresponding entry address of the real input/output device table 41 are set in the corresponding entry of the virtual input/output device table 42 (step 31 in FIG. 4).

次に、実入出力装置テーブル41の該当エントリに割当
て状態フラグ、割当て仮想計算機名および対応する仮想
入出力装置テーブル42のエントリアドレス、をセット
する(32)。
Next, the allocation state flag, the allocated virtual machine name, and the corresponding entry address of the virtual input/output device table 42 are set in the corresponding entry of the real input/output device table 41 (32).

これにより、入出力装置は、他方の仮想計算機に割り当
て状態となり、処理を終了する。
As a result, the input/output device becomes assigned to the other virtual machine, and the process ends.

また、複数の入出力装置を切り替える場合、装置毎に切
り替えを指示することにより、簡単に切り替えを行うこ
とができる。
Further, when switching between a plurality of input/output devices, switching can be easily performed by instructing switching for each device.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、複数の仮想計算機の動
作中に、一方の仮想計算機で使用していた入出力装置を
他の仮想計算機に割り当てる場合の操作を簡単にした。
As described above, the present invention simplifies the operation when assigning an input/output device used by one virtual machine to another virtual machine while a plurality of virtual machines are operating.

これにより、複数の入出力装置を切り替える場合に操作
員の行う作業を少なくし、操作に要する時間を短縮でき
る効果がある。
This has the effect of reducing the amount of work performed by the operator when switching between a plurality of input/output devices and shortening the time required for the operation.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の構成を表す図、第2図、第3図、第4
図は、それぞれ入出力装置切替え判定手段2.仮想計算
機入出力装置動的解放手段3.仮想計算機入出力装置動
的割当て手段4での処理を表す図、第5図は仮想計算機
入出力装置動的解放手段3.仮想計算機入出力装置動的
割当て手段4により参照されるテーブルの詳細を示す図
である。 l・・・・・・入出力装置切替え指示手段、2・・・・
・・入出力装置切替え判定手段、3・・・・・・仮想計
算機入出力装置動的解放手段、4・・・・・・仮想計算
機入出力装置動的割当て手段、41・・・・・・実入出
力装置テーブル、42・・・・・・仮想入出力装置テー
ブル。
Figure 1 is a diagram showing the configuration of the present invention, Figures 2, 3, and 4.
The figure shows input/output device switching determination means 2 and 2, respectively. Virtual machine input/output device dynamic release means 3. FIG. 5 is a diagram showing the processing by the virtual machine input/output device dynamic allocation means 4, and FIG. 3 is a diagram showing details of a table referenced by virtual machine input/output device dynamic allocation means 4. FIG. l... Input/output device switching instruction means, 2...
...Input/output device switching determination means, 3...Virtual computer input/output device dynamic release means, 4...Virtual computer input/output device dynamic allocation means, 41... Real input/output device table, 42...Virtual input/output device table.

Claims (1)

【特許請求の範囲】 一つの仮想計算機が使用していた入出力装置を他方の仮
想計算機で使用するように切替える入出力装置切替え方
式において、 実入出力装置名、割り当てる仮想計算機名および割り当
てる仮想入出力装置名によって、一つの仮想計算機が使
用していた実入出力装置を他の仮想計算機に切り替える
ことを指示する入出力装置切替え指示手段と、 前記実入出力装置名、仮想計算機名および仮想入出力装
置名を入力として、前記実入出力装置名が他の仮想計算
機に切り替え可能か否を判定する入出力装置切替え判定
手段と、 仮想計算機に割り当てられている入出力装置を動的に解
放する仮想計算機入出力装置動的解放手段と、 前記実入出力装置を仮想計算機に動的に割り当てる仮想
計算機入出力装置動的割当て手段とを有する入出力装置
切替え方式。
[Claims] In an input/output device switching method that switches an input/output device used by one virtual machine to be used by another virtual machine, an input/output device switching instruction means for instructing to switch a real input/output device used by one virtual machine to another virtual machine based on an output device name; input/output device switching determination means that receives an output device name as input and determines whether the actual input/output device name can be switched to another virtual machine; and dynamically releases the input/output device assigned to the virtual machine. An input/output device switching method comprising: a virtual computer input/output device dynamic release means; and a virtual computer input/output device dynamic allocation means for dynamically allocating the actual input/output device to a virtual machine.
JP2084126A 1990-03-30 1990-03-30 Input/output device switching system Pending JPH03282828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2084126A JPH03282828A (en) 1990-03-30 1990-03-30 Input/output device switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2084126A JPH03282828A (en) 1990-03-30 1990-03-30 Input/output device switching system

Publications (1)

Publication Number Publication Date
JPH03282828A true JPH03282828A (en) 1991-12-13

Family

ID=13821820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2084126A Pending JPH03282828A (en) 1990-03-30 1990-03-30 Input/output device switching system

Country Status (1)

Country Link
JP (1) JPH03282828A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295841A (en) * 1992-10-19 1995-11-10 Internatl Business Mach Corp <Ibm> Method and system to restructure resource dynamically
US6681267B2 (en) 2000-10-25 2004-01-20 Fujitsu Limited Virtual computer system and method for swapping input/output devices between virtual machines and computer readable storage medium
JP2007310897A (en) * 2007-06-18 2007-11-29 Hitachi Ltd Computer system and computer control method, and storage medium stored with control program
US7565398B2 (en) 2002-06-27 2009-07-21 International Business Machines Corporation Procedure for dynamic reconfiguration of resources of logical partitions
WO2010113248A1 (en) * 2009-03-31 2010-10-07 富士通株式会社 Virtual computer system, information processing device, computer program and connection control method
JP2015026161A (en) * 2013-07-25 2015-02-05 富士ゼロックス株式会社 Information processing system, information processing device, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295841A (en) * 1992-10-19 1995-11-10 Internatl Business Mach Corp <Ibm> Method and system to restructure resource dynamically
US6681267B2 (en) 2000-10-25 2004-01-20 Fujitsu Limited Virtual computer system and method for swapping input/output devices between virtual machines and computer readable storage medium
US7565398B2 (en) 2002-06-27 2009-07-21 International Business Machines Corporation Procedure for dynamic reconfiguration of resources of logical partitions
JP2007310897A (en) * 2007-06-18 2007-11-29 Hitachi Ltd Computer system and computer control method, and storage medium stored with control program
WO2010113248A1 (en) * 2009-03-31 2010-10-07 富士通株式会社 Virtual computer system, information processing device, computer program and connection control method
JP5360199B2 (en) * 2009-03-31 2013-12-04 富士通株式会社 Virtual computer system, information processing apparatus, computer program, and connection control method
JP2015026161A (en) * 2013-07-25 2015-02-05 富士ゼロックス株式会社 Information processing system, information processing device, and program

Similar Documents

Publication Publication Date Title
JPH03282828A (en) Input/output device switching system
JPH01195562A (en) Control system for allocation of input/output device
JPS62152071A (en) Data processor
JPH02310758A (en) Input/output device switching system
JPH01282643A (en) Dynamic changing system for interval time
JPH02284204A (en) Programming device
JPH0616279B2 (en) Virtual information processing system
JPS61279959A (en) Saving and outputting system for main storage
JP2000181727A (en) Process mapping method for thread function on virtual space system
JPS63293631A (en) Screen division controller
JPH04107640A (en) Computer system
JPH02212942A (en) Maintenance control system for information processing system
JPH0447357A (en) Control system for virtual computer system
JPH0452760A (en) Vector processor
JPH0738190B2 (en) Environmental identifier assignment method
JPH0283767A (en) Operating system
KR980007424A (en) Routing Control Method in Asynchronous Transfer Mode Switch
JPH02244242A (en) Terminal input/output control system
JPS6079458A (en) Command connecting system of conversational mode information processing system
JPS61109160A (en) Area control system for inter-system share volume
JPH04273536A (en) Virtual computer inputting and outputting device control system
JPH0546574A (en) Shared peripheral device assignment alteration system for loosely coupled electronic computer system
JPH09212426A (en) Storage device managing method for virtual computer system
JPS63128465A (en) High-speed activation system for information processor
JPH02193223A (en) Program number calling system