JPH0212340A - Virtual computer - Google Patents

Virtual computer

Info

Publication number
JPH0212340A
JPH0212340A JP16315488A JP16315488A JPH0212340A JP H0212340 A JPH0212340 A JP H0212340A JP 16315488 A JP16315488 A JP 16315488A JP 16315488 A JP16315488 A JP 16315488A JP H0212340 A JPH0212340 A JP H0212340A
Authority
JP
Japan
Prior art keywords
operating system
control information
guest operating
area
saving
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
JP16315488A
Other languages
Japanese (ja)
Inventor
Kenji Imamine
今峰 健司
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 JP16315488A priority Critical patent/JPH0212340A/en
Publication of JPH0212340A publication Critical patent/JPH0212340A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To avoid the useless processing of a guest operating system before a fault occurs by using a means which can execute continuously the guest operating system in a state set before the breakdown of a host operating system in the case this host operating system has the breakdown. CONSTITUTION:In the case a host operating system 1 has a fault and then the breakdown, the vertual computer executing environment secured before the breakdown of the system 1 is obtained again via a VM control information restoring means 8, a VM environment reforming means 9 and a VM guest operating system area restoring means 10. Then the control is shifted to the interrupting point of a guest operating system 6 from a VM monitor 2 for succession of the processing. In this case, the system 6 executes again the input/ output operations executed before an interruption and replaces the real time. Thus the useless processing of the system 6 can be avoided before the fault occurs.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮想計算機の障害処理方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a failure handling method for virtual machines.

〔概要〕〔overview〕

本発明は、仮想計算機の障害処理手段において、ホスト
オペレーティングシステムのダウン時に、ゲストオペレ
ーティングシステムをダウン前の状態で継続して実行で
きる手段を設けることにより、障害発生時点までのゲス
トオペレーティングシステムでの処理が無駄になること
を回避することができるようにしたものである。
The present invention provides a means for continuing to execute the guest operating system in the state before the failure occurs when the host operating system goes down, in the failure handling means of the virtual machine. This is to avoid wasting the information.

〔従来の技術〕[Conventional technology]

従来、仮想計算機上でゲストオペレーティングシステム
実行中にホストオペレーティングシステムに障害が発生
してシステムダウンになる場合に、ホストオペレーティ
ングシステムはホストオペレーティングシステム自身の
終了処理のみを行って障害処理を終了させていた。
Conventionally, when a failure occurs in the host operating system while the guest operating system is running on a virtual machine and the system goes down, the host operating system only performs its own termination processing to complete the failure process. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような仮想計算機の障害処理手段では、ホストオペ
レーティングシステムに障害が発生した場合に、該ホス
トオペレーティングシステム上のVMモニタで制御され
ているゲストオペレーティングシステムには何も通知が
されず終了してしまっていたので、ゲストオペレーティ
ングシステムにとってホストオペレーティングシステム
のダウンは電源ダウンや強制イニシャライズと同等にな
り、ジャーナルのクローズ処理や再立ち上げ後のりスタ
ートができない欠点があった。
With such virtual machine failure handling means, when a failure occurs in the host operating system, the guest operating system controlled by the VM monitor on the host operating system is terminated without any notification. As a result, for the guest operating system, a shutdown of the host operating system was equivalent to a power down or forced initialization, and the drawback was that it was impossible to close the journal or restart after restarting.

本発明はこのような欠点を除去するもので、ゲストオペ
レーティングシステムの処理を障害発生時の状態にひき
続き再立ち上げすることができる仮想計算機を提供する
ことを目的とする。
The present invention aims to eliminate such drawbacks, and aims to provide a virtual machine that can restart the processing of a guest operating system in the state at the time of failure.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、ゲストオペレーティングシステムである第一
システムおよびこの第一システムを制御する仮想メモリ
モニタを有するホストオペレーティングシステムである
第二システムを備えた仮想計算機において、上記仮想メ
モリモニタが実行中に上記第二システムが終了したとき
に、仮想メモリ制御情報を主記憶から退避させる第一退
避手段と、上記仮想メモリモニタに制御される上記第一
システムの領域を主記憶から退避させる第二退避手段と
、上記第二システムの立ち上げ後に退避中の仮想メモリ
制御情報を主記憶に復元する第−復元手段と、この復元
された仮想メモリ制御情報に基づき上記第二システムの
終了前に上記第二システムから割り当てられた資源の再
割り当てを上記仮想メモリモニタに行わせる再構築手段
と、この再構築手段で再割り当てされたメモリ領域に退
避中の上記第一システムの領域を復元する第二復元手段
とを備えたことを特徴とする。
The present invention provides a virtual machine that includes a first system that is a guest operating system and a second system that is a host operating system that has a virtual memory monitor that controls the first system. a first saving means for saving virtual memory control information from the main memory when the second system is terminated; and a second saving means for saving the area of the first system controlled by the virtual memory monitor from the main memory; a second restoring means for restoring the virtual memory control information that has been saved into the main memory after startup of the second system; Reconstruction means for causing the virtual memory monitor to reallocate the allocated resources; and second restoration means for restoring the area of the first system being evacuated to the memory area reallocated by the reconstruction means. It is characterized by having

〔イ乍用〕[For use]

ホストオペレーティングシステムの終了処理時にVMモ
ニタが実行中の場合は、主記憶上のVM制御情報を外部
記憶装置上へ退避する。また、VMモニタにより実行制
御されているゲストオペレーティグシステムの領域を外
部記憶装置上へ退避する。ホストオペレーティングシス
テムの立ち上げ後に、補助記憶装置上に退避されたVM
制御情報を主記憶上に復元する。復元されたVM制御情
報を基にホストオペレーティングシステム終了前にVM
モニタがホストオペレーティングシステムより割り当て
をうけていた資源の再割り当てを行い、VMLt境の再
構築を行う。再割り当てされたゲストオペレーティング
システム用メモリ領域に退避されたゲストオペレーティ
ングシステムの領域を復元する。
If the VM monitor is being executed when the host operating system is terminated, the VM control information on the main memory is saved to the external storage device. Furthermore, the area of the guest operating system whose execution is controlled by the VM monitor is saved onto the external storage device. VM evacuated to auxiliary storage after starting the host operating system
Restore control information to main memory. Based on the restored VM control information, the VM is
The monitor reallocates the resources allocated by the host operating system and rebuilds the VMLt boundary. Restore the guest operating system area that was saved to the reallocated guest operating system memory area.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を参照して説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

この実施例は、第1図に示すように、ホストオペレーテ
ィングシステムlの終了処理時にVMモニタ2が実行中
の場合は、主記憶上のVM制御情報3を外部記憶装置4
上へ退避するVM制御情報3を外部記憶装置4上へ退避
するVM制御情報退避手段5と、VMモニタ2で実行制
御されているゲストオペレーティングシステム6の領域
を外部記憶装置4上へ退避するVM−GO3領域退避手
段7と、ホストオペレーティングシステム1の立ち上げ
後に、VM制御情報退避手段5で外部記憶装置4上に退
避されたVM制御情報3を主記憶上に復元するVM制御
情報復元手段8と、VM制御情報復元手段8で復元され
たVM制御情報3に基づきホストオペレーティングシス
テム1の終了前にVMモニタ2がホストオペレーティン
グシステム1から割り当てをうけていた資源の再割り当
てを行い、VM環境の再構築を行うVM環境再構築手段
9と、VM環境再構築手段9で再割り当てされたゲスト
オペレーティングシステム6用のメモリ領域にVM−G
O3領域退避手段7で退避されたゲストオペレーティン
グシステム6の領域を復元するVM−GO3領域復元手
段10とから構成される。すなわち、この実施例は、ゲ
ストオペレーティングシステム4である第一システムお
よびこの第一システムを制御する仮想メモリモニタ2を
有するホストオペレーティングシステム1である第二シ
ステムを備えた仮想計算機にふいて、仮想メモリモニタ
2が実行中に上記第二システムが終了したときに、仮想
メモリ制御情報を主記憶から退避させる第一退避手段で
あるVM制御情報退避手段5と、上記仮想メモリモニタ
2に制御される上記第一システムの領域を主記憶から退
避させる第二退避手段であるVM−GO3領域退避手段
7と、上記第二システムの立ち上げ後に退避中の仮想メ
モリ制御情報を主記憶に復元する第一復元手段であるV
M制御情報復元手段8と、この復元された仮想メモリ制
御情報に基づき上記第二システムの終了前に上記第二シ
ステムから割り当てられた資源の再割り当てを仮想メモ
リモニタ2に行わせる再構築手段であるVM環境再構築
手段9と、この再構築手段で再割り当てされたメモリ領
域に退避中の上記第一システムの領域を復元する第二復
元手段であるVM−GO3領域復元手段10とを備えた
ことを特徴とする。
In this embodiment, as shown in FIG. 1, if the VM monitor 2 is running during termination processing of the host operating system l, the VM control information 3 on the main memory is transferred to the external storage device 4.
A VM control information saving means 5 saves the VM control information 3 to be saved upward onto the external storage device 4, and a VM saves the area of the guest operating system 6 whose execution is controlled by the VM monitor 2 onto the external storage device 4. - GO3 area saving means 7 and VM control information restoring means 8 for restoring the VM control information 3 saved on the external storage device 4 by the VM control information saving means 5 to the main memory after the host operating system 1 is started up; Then, based on the VM control information 3 restored by the VM control information restoration means 8, the VM monitor 2 reallocates the resources allocated by the host operating system 1 before the termination of the host operating system 1, and restores the VM environment. The VM environment reconstruction means 9 performs the reconstruction, and the VM-G is stored in the memory area for the guest operating system 6 reallocated by the VM environment reconstruction means 9.
VM-GO3 area restoring means 10 restores the area of the guest operating system 6 that has been saved by the O3 area saving means 7. That is, this embodiment provides a virtual machine that includes a first system that is a guest operating system 4 and a second system that is a host operating system 1 that has a virtual memory monitor 2 that controls this first system. a VM control information saving means 5 which is a first saving means for saving virtual memory control information from the main memory when the second system is terminated while the monitor 2 is running; VM-GO3 area saving means 7 which is a second saving means for saving the area of the first system from the main memory, and a first restoration for restoring the virtual memory control information being saved to the main memory after starting up the second system. V is a means
M control information restoring means 8, and rebuilding means for causing the virtual memory monitor 2 to reallocate resources allocated from the second system before termination of the second system based on the restored virtual memory control information. It is equipped with a certain VM environment reconstruction means 9 and a VM-GO3 area restoration means 10 which is a second restoration means for restoring the area of the first system which is being evacuated to the memory area reallocated by this reconstruction means. It is characterized by

次に、この実施例の動作について図面を参照して説明す
る。
Next, the operation of this embodiment will be explained with reference to the drawings.

vMM御情報退避手段5は、ホストオペレーティングシ
ステム1内でVMモニタ2が実行されていた場合にホス
トオペレーティングシステム1の中のVM制御情報3を
外部記憶装置4上へ退避する(ステップSl、S2およ
び33)。このときに退避されるVM制御情報3には、
第2図に示されるように、各ゲストオペレーティングシ
ステム毎の周辺装置割り当て情報、主記憶割り当て情報
、仮想計算機再開情報ふよび仮想計算機ステータス情報
などがある。VM−GO3領域退避手段7は、VM制御
情報3内にある各ゲストオペレーティングシステム6の
主記憶割り当て情報からゲストオペレーティングシステ
ム6に割り当てられている主記憶の領域情報を入手し、
該当する領域を外部記憶装置4に退避する(ステップ3
3)。VM制御情報復元手段8は、ホストオペレーティ
ングシステム2の再立ち上げ後にVMモニタ2の起動後
に呼び出され、外部記憶装置4上に退避されているVM
制御情報3を主記憶上に復元する(ステップS4、S5
)。VM環境再構築手役9は、VM制御情報復元手段8
で復元したVM制御情報3を用いてホストオペレーティ
ングシステム1のダウン前に各ゲストオペレーティング
システム6に割り当てられていた周辺装置および主記憶
の再割り当てを行う(ステップ86)。VM−GO3領
域復元手段10は、VMI境再構築手段9で再割り当て
された主記憶領域に外部記憶装置4上へ退避されていた
ゲストオペレーティングシステム6の領域を復元する(
ステップ57)a このようにVM制御情報復元手&8、VM環境再構築手
段9およびVM−GO3領域復元手段10によりホスト
オペレーティングシステム1のダウン前の仮想計算機実
行環境の再構築が完了する。
The vMM control information saving means 5 saves the VM control information 3 in the host operating system 1 onto the external storage device 4 when the VM monitor 2 is being executed in the host operating system 1 (steps Sl, S2 and 33). The VM control information 3 saved at this time includes:
As shown in FIG. 2, there is peripheral device allocation information, main memory allocation information, virtual machine restart information, virtual machine status information, etc. for each guest operating system. The VM-GO3 area saving means 7 obtains main memory area information allocated to the guest operating system 6 from the main memory allocation information of each guest operating system 6 in the VM control information 3,
Save the corresponding area to the external storage device 4 (step 3
3). The VM control information restoration means 8 is called after the host operating system 2 is restarted and the VM monitor 2 is started, and the VM control information restoration means 8 restores the VM saved on the external storage device 4.
Restore control information 3 onto main memory (steps S4, S5
). The VM environment reconstruction tool 9 is a VM control information restoration means 8
Using the VM control information 3 restored in step 86, the peripheral devices and main memory that were allocated to each guest operating system 6 before the host operating system 1 went down are reallocated (step 86). The VM-GO3 area restoration means 10 restores the area of the guest operating system 6 that was saved on the external storage device 4 to the main storage area reallocated by the VMI environment reconstruction means 9 (
Step 57)a In this way, the VM control information restorer &8, the VM environment rebuilder 9, and the VM-GO3 area restorer 10 complete the rebuilding of the virtual machine execution environment before the host operating system 1 went down.

この後にVMモニタ2からゲストオペレーティングシス
テム6の中断点に制御が渡されて処理が継続される。こ
のときに、ゲストオペレーティングシステム6では、中
断前に実行中であった入出力の再実行および実時間の更
新処理を行う。
After this, control is passed from the VM monitor 2 to the interruption point of the guest operating system 6 to continue processing. At this time, the guest operating system 6 re-executes the input/output that was being executed before the interruption and performs real-time update processing.

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

以上説明したように本発明は、仮想計算機システムでホ
ストオペレーティングシステムに障害が発生しダウンし
ても、ゲストオペレーティングシステムはダウン前の状
態で継続して実行可能になるので、ゲストオペレーティ
ングシステムやVMモニタに何ら異常がないにも拘わら
ずホストオペレーティングシステムの障害で障害発生時
点までのゲストオペレーティングシステムの処理が無駄
になってしまうことを回避できる効果がある。
As explained above, in the present invention, even if the host operating system in a virtual computer system fails and goes down, the guest operating system can continue to run in the state before it went down, so the guest operating system and VM monitor This has the effect of avoiding wasting the processing of the guest operating system up to the point of failure due to a failure of the host operating system even though there is no abnormality in the host operating system.

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

第1図は本発明実施例の構成を示すブロック構成図。 第2図はVM制御情報の内容を示す図。 第3図は本発明実施例の動作を示すフロー図。 l・・・ホストオペレーティングシステム(HO3)、
2・・・VMモニタ、3・・・VM制御情報、4・・・
外部記憶装置、5・・・VM制御情報退避手段、6・・
・ゲストオヘレーティングシステム(GO3) 、?・
・・VM・GO3領域退避手段、8・・・VM制御情報
復元手段、9−VMBI境再構築手段、10−VM−G
O3領域復元手段。
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a diagram showing the contents of VM control information. FIG. 3 is a flow diagram showing the operation of the embodiment of the present invention. l...Host operating system (HO3),
2... VM monitor, 3... VM control information, 4...
External storage device, 5... VM control information saving means, 6...
・Guest hosting system (GO3)?・
... VM/GO3 area saving means, 8... VM control information restoration means, 9-VMBI environment reconstruction means, 10-VM-G
O3 area restoration means.

Claims (1)

【特許請求の範囲】 1、ゲストオペレーティングシステムである第一システ
ム(4)およびこの第一システムを制御する仮想メモリ
モニタ(2)を有するホストオペレーティングシステム
である第二システム(1)を備えた仮想計算機において
、 上記仮想メモリモニタが実行中に上記第二システムが終
了したときに、仮想メモリ制御情報を主記憶から退避さ
せる第一退避手段(5)と、上記仮想メモリモニタに制
御される上記第一システムの領域を主記憶から退避させ
る第二退避手段(7)と、 上記第二システムの立ち上げ後に退避中の仮想メモリ制
御情報を主記憶に復元する第一復元手段(8)と、 この復元された仮想メモリ制御情報に基づき上記第二シ
ステムの終了前に上記第二システムから割り当てられた
資源の再割り当てを上記仮想メモリモニタに行わせる再
構築手段(9)と、 この再構築手段で再割り当てされたメモリ領域に退避中
の上記第一システムの領域を復元する第二復元手段(1
0)と を備えたことを特徴とする仮想計算機。
[Claims] 1. A virtual computer comprising a first system (4) which is a guest operating system and a second system (1) which is a host operating system having a virtual memory monitor (2) that controls this first system. In the computer, a first saving means (5) for saving virtual memory control information from main memory when the second system terminates while the virtual memory monitor is running; and a first saving means (5) for saving virtual memory control information from main memory; a second saving means (7) for saving an area of one system from the main memory; a first restoring means (8) for restoring the saved virtual memory control information to the main memory after the second system is started; Reconstruction means (9) for causing the virtual memory monitor to reallocate resources allocated from the second system before termination of the second system based on the restored virtual memory control information; a second restoring means (1) for restoring the area of the first system being saved to the reallocated memory area;
0) A virtual computer characterized by comprising:
JP16315488A 1988-06-29 1988-06-29 Virtual computer Pending JPH0212340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16315488A JPH0212340A (en) 1988-06-29 1988-06-29 Virtual computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16315488A JPH0212340A (en) 1988-06-29 1988-06-29 Virtual computer

Publications (1)

Publication Number Publication Date
JPH0212340A true JPH0212340A (en) 1990-01-17

Family

ID=15768252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16315488A Pending JPH0212340A (en) 1988-06-29 1988-06-29 Virtual computer

Country Status (1)

Country Link
JP (1) JPH0212340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005174307A (en) * 2003-12-12 2005-06-30 Microsoft Corp System and method for bimodal device virtualization of actual hardware-based device and idealized hardware-based device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005174307A (en) * 2003-12-12 2005-06-30 Microsoft Corp System and method for bimodal device virtualization of actual hardware-based device and idealized hardware-based device
JP4610307B2 (en) * 2003-12-12 2011-01-12 マイクロソフト コーポレーション System and method for bimodal device virtualization in real hardware-based devices and idealized hardware-based devices

Similar Documents

Publication Publication Date Title
US20130332920A1 (en) Live virtual machine template creation
JPH07219665A (en) Method for suspension and restarting of state of system and computer apparatus capable of performing it
US11210077B2 (en) Available system, and method and program-recording medium thereof
JPH0512045A (en) Method and device for continuing operation of computer systme
US9959134B2 (en) Request processing using VM functions
JP2016110183A (en) Information processing system and control method thereof
JPS62184544A (en) Virtual computer system
JPH0212340A (en) Virtual computer
JP2902746B2 (en) Virtual computer control method
JP2007537498A (en) Method and apparatus for operating a secondary operating system in parallel with the primary operating system
JPH11288366A (en) Information processing method, device therefor and storage medium
JP2580061B2 (en) Active maintenance processing method for server-type programs
JP2003022190A (en) Multiboot method and program for computer system
JPH0833835B2 (en) Error recovery controller
JP2545763B2 (en) Restart method of batch processing in hot standby system
JPS6389963A (en) Parallel initial processing system in multiprocessor system
JPH09152978A (en) Restart processing system for information processor
JPH0581065A (en) Self diagnostic method for programmable controller system
JPS63245736A (en) Succeeding system for controller of exclusive control
JPH03250223A (en) Memory clearing processing system for virtual computer
JPS62108335A (en) Input/output operation controlling system
JPS6154542A (en) Task control system
JP2004054615A (en) Program for restoring equivalence of multiplexed external memory
JPS62243498A (en) Main storage device management system
JPS6394339A (en) Virtual calculation system