JPH039489B2 - - Google Patents
Info
- Publication number
- JPH039489B2 JPH039489B2 JP17873883A JP17873883A JPH039489B2 JP H039489 B2 JPH039489 B2 JP H039489B2 JP 17873883 A JP17873883 A JP 17873883A JP 17873883 A JP17873883 A JP 17873883A JP H039489 B2 JPH039489 B2 JP H039489B2
- Authority
- JP
- Japan
- Prior art keywords
- screen
- display
- virtual machine
- output
- virtual
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
(A) 発明の技術分野
本発明は仮想計算機デイスプレイ制御方式、特
に仮想計算機制御部と、仮想計算機上で動作する
オペレーテイング・システム(OS)とが、1台
のデイスプレイ型コンソールを、それぞれの表示
画面を競合させることなく、独立して占有してい
るかのように使用できるようにした仮想計算機デ
イスプレイ制御方式に関するものである。[Detailed Description of the Invention] (A) Technical Field of the Invention The present invention relates to a virtual machine display control system, in particular a virtual machine display control system that combines a virtual machine control unit and an operating system (OS) running on a virtual machine into a single display. The present invention relates to a virtual computer display control method that allows a type console to be used as if it were independently occupied, without conflicting with each other's display screens.
(B) 従来技術と問題点
仮想計算機システムは、中央処理装置と各種周
辺装置等とを含む実ハードウエアと、仮想的な計
算機環境を整えて、仮想計算機(VM)を制御す
る仮想計算機制御部(CP)と、仮想計算機をあ
たかも実在する装置であるかのように意識して、
データ処理を実行するオペレーテイング・システ
ム(OS)を含むソフトウエア群とからなる。(B) Prior art and problems A virtual computer system consists of real hardware including a central processing unit and various peripheral devices, and a virtual computer control unit that prepares a virtual computer environment and controls a virtual machine (VM). (CP) and be aware of the virtual machine as if it were a real device,
It consists of a group of software including an operating system (OS) that executes data processing.
従来、上記CPと、VM上で動作するOSとが1
台のシステム・コンソールを共有して使用すると
き、タイプライタ型のコンソールだけが使用され
ていた。タイプライタ型のコンソールの場合、メ
ツセージがハード・コピーされるので、一般に1
ライン毎の出力が行われ、複数行にわたつてメツ
セージを見易いように編集しなおす必要性は少な
い。これに対し、デイスプレイ装置の場合には、
一般に表示画面の大きさに制限がある一方、画面
全体の表示形式を自由に定めることができるた
め、メツセージを見易い形で効率よく編集して出
力することが望まれる。しかし、デイスプレイ装
置を、CPと、VM上で動作するOSとの共通のコ
ンソールとして利用するとすれば、CPとOSとの
メツセージの表示形式を統一的に定めることは、
互換性・独立性の点から困難であるため、CPお
よびOSからのそれぞれのメツセージが、1画面
上に混在して出力されてしまうことになる。 Conventionally, the above CP and the OS running on the VM were one
When multiple system consoles were shared, only a typewriter-style console was used. Typewriter-style consoles generally have 1
Output is performed line by line, so there is little need to edit messages across multiple lines to make them easier to read. On the other hand, in the case of display devices,
Although there is generally a limit to the size of a display screen, the display format of the entire screen can be freely determined, so it is desirable to efficiently edit and output messages in an easy-to-read format. However, if the display device is used as a common console between the CP and the OS running on the VM, it is difficult to uniformly define the display format of messages between the CP and the OS.
Since this is difficult in terms of compatibility and independence, messages from the CP and OS will be output together on one screen.
したがつて、従来、デイスプレイ装置をシステ
ム・コンソールとして用いても、デイスプレイ装
置の長所を活かすことができず、タイプライタ型
のコンソールと同様な出力形式となるため、ハー
ド・コピーをとることができない分だけ、通常の
タイプライタ型コンソールよりも不利であると考
えられていた。 Therefore, conventionally, even if a display device was used as a system console, the advantages of the display device could not be utilized, and the output format would be similar to that of a typewriter-type console, making it impossible to make a hard copy. It was considered to be at a disadvantage compared to a regular typewriter-style console.
(C) 発明の目的と構成
本発明は上記問題点の解決を図り、1台のデイ
スプレイ型コンソールを、CPとVM上で動作す
るOSとが共有して使用できるようにし、かつ表
示画面上でCPのメツセージとOSからのメツセー
ジとが競合しないようにすることを目的としてい
る。特に、表示画面をCP用とOS用とに分けた場
合に、表示画面がCP用になつているときの、OS
からのメツセージ表示要求に対する処理が問題と
なるが、本発明は、擬似的な装置使用中状態、す
なわちデバイス・ビジーをOSに報告し、既存の
OSを改造することなく、また操作性を劣化させ
ることなく、競合制御を図ることをめざしてい
る。そのため、本発明の仮想計算機デイスプレイ
制御方式は、仮想計算機制御部の配下で仮想計算
機を動作させる仮想計算機システムにおいて、デ
イスプレイ型のコンソールをそなえるとともに、
少なくとも上記デイスプレイ型コンソールの表示
画面が仮想計算機制御画面であるか仮想計算機使
用画面であるかを示す画面モード指示部と、該画
面モード指示部が仮想計算機制御画面を示してい
るときの上記仮想計算機からの表示要求に対しデ
バイス・ビジーを通知するデバイス・ビジー通知
部と、上記デバイス・ビジの通知から所定の時間
経過後に画面モードを切り換えて上記仮想計算機
に対しデバイス・エンドを通知する画面制御部と
をそなえたことを特徴としている。以下図面を参
照しつつ、実施例に従つて説明する。(C) Purpose and Structure of the Invention The present invention aims to solve the above problems, and enables a single display console to be shared by the CP and the OS running on the VM, and also enables The purpose is to prevent conflicts between messages from the CP and messages from the OS. In particular, when the display screen is divided into one for CP and one for OS, when the display screen is for CP, the OS
However, the present invention reports a pseudo device-in-use state, that is, device busy, to the OS, and
The aim is to achieve competitive control without modifying the OS or degrading operability. Therefore, the virtual machine display control method of the present invention provides a display-type console in a virtual machine system that operates a virtual machine under a virtual machine control unit, and
At least a screen mode instruction section that indicates whether the display screen of the display type console is a virtual computer control screen or a virtual computer use screen, and a screen mode instruction section that indicates whether the display screen of the display type console is a virtual computer control screen; a device busy notification section that notifies the device busy in response to a display request from the device; and a screen control section that switches the screen mode and notifies the virtual machine of the device end after a predetermined period of time has elapsed since the device busy notification. It is characterized by having the following. Examples will be described below with reference to the drawings.
(D) 発明の実施例
第1図および第2図は本発明による制御概要の
説明図、第3図は本発明の一実施例構成を示す。(D) Embodiment of the Invention FIGS. 1 and 2 are explanatory diagrams of an outline of control according to the present invention, and FIG. 3 shows the configuration of an embodiment of the present invention.
第1図において、1はデイスプレイ型コンソー
ルの仮想計算機制御画面(以下CP画面という)、
2はCP画面退避域、3はデイスプレイ型コンソ
ールの仮想計算機使用画面(以下OS画面とい
う)、4はOS画面退避域を表わす。 In Figure 1, 1 is a virtual computer control screen (hereinafter referred to as CP screen) of a display console;
2 represents a CP screen save area, 3 represents a virtual machine use screen of a display type console (hereinafter referred to as the OS screen), and 4 represents an OS screen save area.
本発明の場合、システム・コンソールとして、
例えばCRTデイスプレイとキーボードとからな
るデイスプレイ型のコンソールが用いられる。デ
イスプレイ型コンソールの表示画面の状態として
CP画面1のモードとOS画面3のモードとがあ
る。CP画面1のモードは、VMを制御するため
のCPコマンドが入力可能な状態であつて、その
ときの表示画面には、CPからのメツセージのみ
が表示される。一方、OS画面3のモードは、OS
コマンドを入力できる状態であつて、OS自身が
自由に制御できる画面を作り出すことが可能な状
態である。 In the case of the present invention, as a system console,
For example, a display-type console consisting of a CRT display and a keyboard is used. As the state of the display screen of the display type console
There is a CP screen 1 mode and an OS screen 3 mode. The mode of CP screen 1 is a state in which CP commands for controlling the VM can be input, and only messages from the CP are displayed on the display screen at that time. On the other hand, the mode on OS screen 3 is
This is a state in which commands can be entered and a screen that can be freely controlled by the OS itself can be created.
CP画面1からOS画面3への切り換えは、例え
ば次の場合に行われる。まず、OSのイニシヤ
ル・プログラム・ロード(IPL)時に、自動的に
OS画面3に切り換えられる。この切り換えにあ
たつては、CP画面1の表示内容は、所定の記憶
領域に確保されたCP画面退避域2へ退避される。
OS画面3としては、クリアされた表示画面が引
き継がれる。次に、CPコマンドであるBEGINコ
マンドによつても、CP画面1からOS画面3への
切り換えが行われる。OS画面3の表示画面は、
OS画面退避域4から読み出されて復元される。
以下同様である。また、いわゆるプログラム・ア
テンシヨン2(PA2)キーの押下によつても、
切り換えがなされる。さらに、第2図を参照して
後述する如く、OSがデイスプレイ型コンソール
に対して、入出力起動(SIO:Start Input
Output)命令を発行した場合にも、所定の時間
経過後に、CP画面1からOS画面3への切り換え
が行われる。 Switching from CP screen 1 to OS screen 3 is performed, for example, in the following cases. First, at the initial program load (IPL) of the OS,
You can switch to OS screen 3. During this switching, the display contents of the CP screen 1 are saved to the CP screen save area 2 secured in a predetermined storage area.
The cleared display screen is taken over as the OS screen 3. Next, switching from the CP screen 1 to the OS screen 3 is also performed by the BEGIN command, which is a CP command. The display screen of OS screen 3 is
The screen is read out from the OS screen save area 4 and restored.
The same applies below. Also, by pressing the so-called Program Attention 2 (PA2) key,
A switch is made. Furthermore, as described later with reference to Figure 2, the OS initiates input/output (SIO) for the display-type console.
Output) command is also issued, the CP screen 1 is switched to the OS screen 3 after a predetermined period of time has elapsed.
OS画面3からCP画面1への切り換えは、例え
ば次の場合に行われる。OS画面3のモード時に、
PA2キーが押下されると、CP画面1へ切り換え
られる。このとき、OS画面3の内容は、OS画面
退避域4へ退避され、CP画面1の表示は、CP画
面退避域2から復元される。この退避・復元は、
以下の切り換え時にも同様に行われる。OSで障
害が起こり、OSが処理を続行できない状態、す
なわちデイセイブル・ウエイト(Disable Wait)
状態になつた場合にも、CP画面1へ切り換えら
れる。また、CPからオペレータへの緊急メツセ
ージがある場合、またはCPからの通常のメツセ
ージが例えば44行分溜つた場合にも、OS画面3
からCP画面1への切り換えが行われる。 Switching from OS screen 3 to CP screen 1 is performed, for example, in the following cases. When in OS screen 3 mode,
When the PA2 key is pressed, the screen is switched to CP screen 1. At this time, the contents of the OS screen 3 are saved to the OS screen save area 4, and the display of the CP screen 1 is restored from the CP screen save area 2. This evacuation and restoration
The same thing is done at the time of the following switching. A state in which a failure occurs in the OS and the OS is unable to continue processing, that is, Disable Wait.
You can also switch to CP screen 1 if this occurs. Also, if there is an emergency message from the CP to the operator, or if, for example, 44 lines of normal messages from the CP have accumulated, the OS screen 3
Switching from to CP screen 1 is performed.
特に本発明の場合、CP画面1のモードのとき
に、OSがOS画面の変更のためSIO命令を発行す
ると、例えば第2図図示の如く、制御する。な
お、OSはコンソールを占有していると考えて処
理しているので、CP画面1のときにSIO命令が
発行されることは、頻繁に起こり得る。OSの
SIO命令発行に対して、直ちにCP画面1からOS
画面3へ無条件に切り換えるとすると、オペレー
タが、例えばCP画面1において、CPコマンドを
投入しようとしているとき、その操作を続行でき
なくなる。また、例えばOSメツセージが連続し
て大量にあるとき、CP画面1の状態を維持する
ことができなくなる。 Particularly in the case of the present invention, when the OS issues an SIO command to change the OS screen in the CP screen 1 mode, control is performed as shown in FIG. 2, for example. Note that since the OS processes the console by assuming that it occupies it, the SIO command may frequently be issued when the CP screen 1 is displayed. OS
When the SIO command is issued, the OS immediately changes from CP screen 1.
If the operator were to switch to screen 3 unconditionally, for example, when the operator is attempting to input a CP command on CP screen 1, the operator will not be able to continue the operation. Further, for example, when there are a large number of consecutive OS messages, it becomes impossible to maintain the state of the CP screen 1.
そこで、第2図に示すように、OSがSIO命令
を発行したときに、CP画面1のモードであれば、
実際のハードウエアに対するSIO命令を発行する
ことなく、いわゆるコンデイシヨン・コードCC
=1を実行結果として通知し、チヤネル状態語と
してデバイス・ビジーを報告する。そして所定の
時間、例えば60秒経過後にCP画面1からOS画面
3へ切り換えて、OSに対しデバイス・エンドの
割込みを通知する。この間、OSは停止すること
なく他の処理を続行することができ、CPによつ
て擬似的に発生させられたデバイス・エンド割込
みを受けることにより、コンソールが使用可能状
態になつたことを知る。先のデバイス・ビジーで
保留されたSIO命令を再度実行すれば、OS画面
3への出力等がなされることになる。一方、オペ
レータは、上記60秒の猶予時間に、CP画面1の
チエツクや必要なCPコマンドの投入ができる。 Therefore, as shown in Figure 2, if the OS is in the mode of CP screen 1 when issuing the SIO command,
So-called condition code CC without issuing SIO instructions to the actual hardware.
=1 as the execution result, and device busy as the channel status word. Then, after a predetermined period of time, for example 60 seconds has elapsed, the CP screen 1 is switched to the OS screen 3, and the OS is notified of the device end interrupt. During this time, the OS can continue other processing without stopping, and learns that the console is ready for use by receiving a device end interrupt pseudo-generated by the CP. If the SIO command that was suspended due to the previous device busy is executed again, output to the OS screen 3, etc. will be performed. On the other hand, the operator can check the CP screen 1 and input necessary CP commands during the 60 second grace period.
上記デバイス・ビジーの報告からデバイス・エ
ンドの割込みまでの時間は、必ずしも60秒でなく
てもよいが、通常3分くらいのコンソール入出力
監視時間よりも短く、またオペレータのCP画面
1における操作に支障のない時間をとることが望
ましい。 The time from the above device busy report to the device end interrupt does not necessarily have to be 60 seconds, but it is shorter than the console input/output monitoring time, which is usually about 3 minutes, and the time required for the operator's operations on CP screen 1 does not necessarily have to be 60 seconds. It is desirable to have a free time.
第3図は本発明の一実施例構成ブロツク図を示
している。図中、符号2および4は第1図に対応
し、10は仮想計算機(VM)、11は仮想計算
機制御部(CP)、12はオペレーテイング・シス
テム(OS)、13は応用処理部、14はプログラ
ム割込みハンドラ、15はスタートI/Oシミユ
レータ、16はデバイス・ビジー通知部、17は
タイマ処理部、18は画面モード指示部、19は
入出力管理部、20はデイスプレイ型コンソー
ル、21は画面制御部、22は画面切換部、23
はアテンシヨン処理部、24はデバイス・エンド
通知部、25は入出力割込み処理部、26はタイ
マ割込み処理部、27は仮想I/O反映部、28
はCPメツセージ制御部、29はメツセージ・キ
ユー管理部、30−1ないし30−3はCPメツ
セージ・キユーを表わす。 FIG. 3 shows a block diagram of an embodiment of the present invention. In the figure, numerals 2 and 4 correspond to those in FIG. 1, 10 is a virtual machine (VM), 11 is a virtual machine control unit (CP), 12 is an operating system (OS), 13 is an application processing unit, 14 is a program interrupt handler, 15 is a start I/O simulator, 16 is a device busy notification section, 17 is a timer processing section, 18 is a screen mode instruction section, 19 is an input/output management section, 20 is a display type console, and 21 is a screen Control unit, 22 is a screen switching unit, 23
24 is an attention processing unit, 24 is a device end notification unit, 25 is an input/output interrupt processing unit, 26 is a timer interrupt processing unit, 27 is a virtual I/O reflection unit, 28
29 is a message/queue management section, and 30-1 to 30-3 are CP message/queues.
VM10は、仮想的なハードウエア資源をCP
11によつて割当てられた装置である。CP11
は、VM10を制御し、メモリのマツピング・テ
ーブルの管理、実入出力装置への入出力に関する
命令の発行、各種割込みの処理等を行う。OS1
2は、配下で動作する各種応用処理部13を動作
させるものであり、応用処理部13は、OS12
の各種機能を利用しつつ利用者の必要とするデー
タ処理を遂行する。OS12は、VM10を1つ
の独立した計算機として処理を行う。しかし、
OS12は、いわゆるプロブレム・モードで走行
するので、SIO命令を発行すると、特権命令の使
用禁止により、プログラム割込みを起こし、CP
11のプログラム割込みハンドラ14に制御が移
行する。 VM10 uses virtual hardware resources as CP
11. CP11
controls the VM 10, manages the memory mapping table, issues commands related to input/output to real input/output devices, handles various interrupts, etc. OS1
2 operates various application processing units 13 that operate under it, and the application processing unit 13 operates the OS 12.
Performs the data processing required by the user while utilizing various functions. The OS 12 processes the VM 10 as one independent computer. but,
OS12 runs in so-called problem mode, so when an SIO instruction is issued, the use of privileged instructions is prohibited, causing a program interrupt and causing a CP
Control is transferred to the program interrupt handler 14 of No. 11.
プログラム割込みハンドラ14は、プログラム
割込みの原因を解析し、その原因に応じた処理を
実行するものである。SIO命令の発行によるもの
である場合には、そのSIO命令がOS12から発
行されたものであるかどうかをチエツクした後、
スタートI/Oシミユレータ15へ通知する。ス
タートI/Oシミユレータ15は、OS12の作
成したチヤネル・コマンド・ワード(CCW)を
チエツクし、必要に応じてアドレス変換等を行
い、実際にSIO命令を発行できる形にするもので
ある。デバイス・ビジー通知部16は、特にSIO
命令がデイスプレイ型コンソール20を対象とし
ているときに、第2図で説明したデバイス・ビジ
ーを通知するものである。このときタイマ処理部
17に60秒間のタイマ・セツトを依頼する。 The program interrupt handler 14 analyzes the cause of a program interrupt and executes processing according to the cause. If it is due to the issuance of an SIO command, after checking whether the SIO command was issued from the OS12,
The start I/O simulator 15 is notified. The start I/O simulator 15 checks the channel command word (CCW) created by the OS 12, performs address conversion etc. as necessary, and makes it possible to actually issue an SIO command. The device busy notification section 16 specifically
When the instruction is directed to the display type console 20, the device busy notification described in FIG. 2 is notified. At this time, the timer processing section 17 is requested to set a timer for 60 seconds.
画面モード指示部18は、デイスプレイ型コン
ソール20の表示画面が現在CP画面であるかOS
画面であるかを記憶しておくものである。なお、
画面切り換えが必要な状態であるにもかかわら
ず、例えば入出力命令の実行途中であつて、直ち
に画面切り換えができない場合のために、その状
態を示すペンデイング・ビツトも有している。 The screen mode instruction unit 18 determines whether the display screen of the display type console 20 is currently the CP screen or the OS
This is to remember whether the screen is displayed. In addition,
In case the screen cannot be immediately switched, for example because an input/output command is in the middle of execution even though the screen needs to be switched, a pending bit is also provided to indicate the state.
入出力管理部19は、実際の入出力装置への
SIO命令を実行処理するものである。デイスプレ
イ型コンソール20は、例えばCRTデイスプレ
イとキーボードからなる。画面制御部21は、
CP画面からOS画面またはOS画面からCP画面へ
の切り換えを行う画面切換部22と、PA2キー
の押下によるアテンシヨンの処理を行うアテンシ
ヨン処理部23と、第2図で説明した擬似的なデ
バイス・エンドを通知するデバイス・エンド通知
部24とを有している。入出力割込み処理部25
は、入出力割込みを受け付けて処理するものであ
る。タイマ割込み処理部26は、タイマ処理部1
7がセツトしたタイマについてのクロツクコンパ
レータの割込みを受け付けるものである。 The input/output management unit 19 controls the actual input/output device.
It executes SIO commands. The display type console 20 includes, for example, a CRT display and a keyboard. The screen control unit 21 is
A screen switching unit 22 that switches from the CP screen to the OS screen or from the OS screen to the CP screen, an attention processing unit 23 that processes the attention caused by pressing the PA2 key, and the pseudo device end explained in FIG. It has a device end notification section 24 that notifies the device end notification section 24. Input/output interrupt processing unit 25
accepts and processes input/output interrupts. The timer interrupt processing unit 26 includes the timer processing unit 1
7 accepts interrupts from the clock comparator for the timer set.
仮想I/O反映部27は、OS12が発行した
SIO命令についての実行処理結果を通知するもの
である。通常、OS12が持つ入出力割込みハン
ドラの先頭に制御を移行し、実際に入出力割込み
が生じたかのように擬似する。 The virtual I/O reflection unit 27 uses the information issued by the OS 12.
This is to notify the execution processing result regarding the SIO instruction. Normally, control is transferred to the beginning of the input/output interrupt handler that the OS 12 has, and it is simulated as if an input/output interrupt actually occurred.
CPメツセージ制御部28は、CP11が発行し
たCP画面に表示すべきメツセージの制御を行う
ものである。メツセージ・キユー管理部29は、
例えばデイスプレイ型コンソール20がOS画面
のモードになつている場合に、直ちにCPメツセ
ージを出力できないので、CPメツセージの発行
順にCPメツセージ・キユー30−1,30−2,
…を作成し管理するものである。 The CP message control unit 28 controls messages issued by the CP 11 and to be displayed on the CP screen. The message/queue management department 29
For example, when the display console 20 is in the OS screen mode, the CP message cannot be output immediately, so the CP message queues 30-1, 30-2,
...is created and managed.
例えば、画面モード指示部18がOS画面のモ
ードを示しているときに、OS12がデイスプレ
イ型コンソール20に対し、SIO命令を発行した
とする。この場合には、プログラム割込みハンド
ラ14でSIO命令が検出されて、スタートI/O
シミユレータ15でチエツクされ、入出力管理部
19を経由して、SIO命令がすぐに実行される。
その入出力処理が終了すると、入出力割込み処理
部25を経由して、画面制御部21へ通知が行
き、仮想I/O反映部27からOS12へSIO命
令の実行結果が通知される。なお、画面制御部2
1においては、このとき、ペンデイング・ビツト
がチエツクされる。 For example, assume that the OS 12 issues an SIO command to the display console 20 when the screen mode instruction unit 18 indicates the mode of the OS screen. In this case, the program interrupt handler 14 detects the SIO instruction and starts I/O.
The SIO command is checked by the simulator 15 and immediately executed via the input/output management section 19.
When the input/output processing is completed, a notification is sent to the screen control unit 21 via the input/output interrupt processing unit 25, and the virtual I/O reflection unit 27 notifies the OS 12 of the execution result of the SIO command. Note that the screen control unit 2
1, the pending bit is checked at this time.
一方、CP画面のときに、OS12がOS画面用
のSIO命令を発行したとすると、次のように処理
される。スタートI/Oシミユレータ15は、プ
ログラム割込みハンドラ14からSIO命令の通知
があると、画面モード指示部18をチエツクす
る。この場合、CP画面のモードであるため、直
ちに出力できないことを認知し、デバイス・ビジ
ー通知部16を起動する。デバイス・ビジー通知
部16は、OS12に対して、デバイス・ビジー
を通知するとともに、60秒間のタイマ・セツトを
タイマ処理部17へ依頼する。60秒が経過して、
タイマ割込みが生じると、タイマ割込み処理部2
6からの通知により、画面切換部22は、まず
CP画面からOS画面への切り換えを行う。この切
り換えでは、現在のデイスプレイ表示画面の内容
を、入出力命令によつて読み出し、CP画面退避
域2へ退避し、次にOS画面退避域4から読み出
した内容をデイスプレイ型コンソール20へ出力
し、OS画面を復元する。そして、画面モード指
示部18のモードをOS画面モードにすることに
より、画面切り換えを終了する。なお、上記画面
切り換えを、直ちに処理できない場合には、画面
モード指示部18にペンデイング・ヒツトを立て
ておき、ペンデイング条件が解除されてから、切
り換えを実行する。CP画面からOS画面へ切り換
えが行われたならば、デバイス・エンド通知部2
4は、擬似的なデバイス・エンドを仮想I/O反
映部27へ通知する。仮想I/O反映部27から
OS12へデバイス・エンドの割込みが報告され、
OS12は、デイスプレイ型コンソール20が使
用可能状態になつたことを知る。再度SIO命令を
発行することにより、OS画面を更新することが
できる。 On the other hand, if the OS 12 issues an SIO command for the OS screen when the CP screen is displayed, the process will be as follows. When the start I/O simulator 15 is notified of the SIO command from the program interrupt handler 14, it checks the screen mode instruction section 18. In this case, since it is in the CP screen mode, it recognizes that it cannot output immediately, and activates the device busy notification section 16. The device busy notification unit 16 notifies the OS 12 that the device is busy, and also requests the timer processing unit 17 to set a 60 second timer. 60 seconds have passed and
When a timer interrupt occurs, timer interrupt processing section 2
In response to the notification from 6, the screen switching unit 22 first
Switch from the CP screen to the OS screen. In this switching, the contents of the current display screen are read by an input/output command, and are saved to the CP screen save area 2, and then the contents read from the OS screen save area 4 are output to the display type console 20, Restore the OS screen. Then, the screen switching is completed by setting the mode of the screen mode instruction section 18 to the OS screen mode. Note that if the screen switching cannot be processed immediately, a pending hit is set in the screen mode instruction section 18, and the switching is executed after the pending condition is canceled. If the CP screen is switched to the OS screen, the device end notification section 2
4 notifies the virtual I/O reflection unit 27 of the pseudo device end. From the virtual I/O reflection unit 27
Device end interrupt is reported to OS12,
The OS 12 learns that the display type console 20 is now available for use. The OS screen can be updated by issuing the SIO command again.
CP画面モードのときに、CP11からオペレー
タへのメツセージがあると、CPメツセージ制御
部28から直ちにデイスプレイ型コンソール20
への出力がなされる。しかし、OS画面モードの
ときには、CPメツセージを出力することができ
ないので、メツセージ・キユー管理部29によ
り、CPメツセージ・キユー30−1,30−2,
…として、保持しておく。システムの運用に重大
な影響を及ぼす緊急メツセージがあつた場合、ま
たは、例えば通常のCPメツセージが44行分溜つ
た場合にはCPメツセージ制御部28から、画面
制御部21へ画面切り換えが依頼される。CP画
面からOS画面への上記切り換え処理と同様にし
て、OS画面からCP画面への切り換えが行われ、
CPメツセージを出力できる状態に設定されるこ
とになる。 When there is a message from the CP 11 to the operator in the CP screen mode, the CP message control unit 28 immediately sends a message to the display console 20.
Output to is made. However, in the OS screen mode, the CP message cannot be output, so the message/queue management section 29 outputs the CP message/queue 30-1, 30-2,
Keep it as... When there is an emergency message that has a serious impact on system operation, or when, for example, 44 lines of normal CP messages have accumulated, the CP message control unit 28 requests the screen control unit 21 to switch the screen. . Switching from the OS screen to the CP screen is performed in the same way as the above switching process from the CP screen to the OS screen.
It will now be set to a state where it can output CP messages.
例えば、PA2キーが押下された場合には、い
わゆるアテンシヨン割込みを起こす。この割込み
は、アテンシヨン処理部23へ通知され、アテン
シヨン処理部23は、リードモデイフアイ・コマ
ンドにより、PA2キーの押下による割込み原因
を知る。これによつて画面切換部22を起動し、
画面を切り換える。なお、BEGINコマンド等に
よる切り換えも同様に行われるので、説明を省略
する。 For example, when the PA2 key is pressed, a so-called attention interrupt occurs. This interruption is notified to the attention processing section 23, and the attention processing section 23 learns the cause of the interruption due to the pressing of the PA2 key by means of a read modify command. This activates the screen switching section 22,
Switch the screen. Note that switching by a BEGIN command or the like is performed in the same way, so the explanation will be omitted.
(E) 発明の効果
以上説明した如く、本発明によれば、仮想計算
機システムにおいて、デイスプレイ型コンソール
をデイスプレイの長所を活かした形で使用できる
ようになる。特に、例えばサービスプロセツサ
(SVP)等のデイスプレイで知られたマニユア
ル・フレームやプログラム・フレーム等の表示画
面の制御と同様な制御を、仮想計算機制御部と仮
想計算機のOSとにおいて、実現することが可能
になる。(E) Effects of the Invention As explained above, according to the present invention, a display type console can be used in a virtual computer system in a manner that takes advantage of the advantages of the display. In particular, it is necessary to realize, in the virtual machine control unit and the virtual machine OS, control similar to the control of display screens such as manual frames and program frames known from displays such as service processors (SVP). becomes possible.
第1図および第2図は本発明による制御概要の
説明図、第3図は本発明の一実施例構成を示す。
図中、1はCP画面、3はOS画面、10は仮想
計算機、11は仮想計算機制御部、12はオペレ
ーテイング・システム、16はデバイス・ビジー
通知部、18は画面モード指示部、20はデイス
プレイ型コンソール、21は画面制御部、22は
画面切換部、24はデバイス・エンド通知部を表
わす。
FIGS. 1 and 2 are explanatory diagrams of an outline of control according to the present invention, and FIG. 3 shows the configuration of an embodiment of the present invention. In the figure, 1 is the CP screen, 3 is the OS screen, 10 is the virtual machine, 11 is the virtual machine control unit, 12 is the operating system, 16 is the device busy notification unit, 18 is the screen mode instruction unit, and 20 is the display. 21 is a screen control section, 22 is a screen switching section, and 24 is a device end notification section.
Claims (1)
させる仮想計算機システムにおいて、デイスプレ
イ型のコンソールをそなえるとともに、少なくと
も上記デイスプレイ型コンソールの表示画面が仮
想計算機制御画面であるか仮想計算機使用画面で
あるかを示す画面モード指示部と、該画面モード
指示部が仮想計算機制御画面を示しているときの
上記仮想計算機からの表示要求に対してデバイ
ス・ビジーを通知するデバイス・ビジー通知部
と、上記デバイス・ビジーの通知から所定の時間
経過後に画面モードを切り換えて上記仮想計算機
に対しデバイス・エンドを通知する画面制御部と
をそなえたことを特徴とする仮想計算機デイスプ
レイ制御方式。1. In a virtual computer system in which a virtual computer is operated under a virtual computer control unit, a display-type console is provided, and at least it is specified whether the display screen of the display-type console is a virtual computer control screen or a virtual computer use screen. a device busy notification section that notifies a device busy in response to a display request from the virtual machine when the screen mode instruction section indicates a virtual machine control screen; A virtual machine display control method comprising: a screen control unit that notifies the virtual machine of a device end by switching the screen mode after a predetermined time has elapsed since the notification of the device end.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17873883A JPS6069737A (en) | 1983-09-27 | 1983-09-27 | Virtual computer display control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17873883A JPS6069737A (en) | 1983-09-27 | 1983-09-27 | Virtual computer display control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6069737A JPS6069737A (en) | 1985-04-20 |
| JPH039489B2 true JPH039489B2 (en) | 1991-02-08 |
Family
ID=16053720
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17873883A Granted JPS6069737A (en) | 1983-09-27 | 1983-09-27 | Virtual computer display control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6069737A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01214955A (en) * | 1988-02-23 | 1989-08-29 | Nec Corp | System for controlling crt of plural oss |
-
1983
- 1983-09-27 JP JP17873883A patent/JPS6069737A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6069737A (en) | 1985-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3659062B2 (en) | Computer system | |
| US4787026A (en) | Method to manage coprocessor in a virtual memory virtual machine data processing system | |
| JP2552651B2 (en) | Reconfigurable dual processor system | |
| JPH0430053B2 (en) | ||
| JP2000076087A (en) | Multi-operating system control method | |
| JPH039489B2 (en) | ||
| JPH07225694A (en) | Virtual computer system | |
| JPH08272755A (en) | Processor switching device | |
| JP3074770B2 (en) | Information processing device | |
| JPH04227547A (en) | Information processor | |
| JPH09282196A (en) | Program run control method for complex logic processor system. | |
| JP2503318B2 (en) | Character input/output control method | |
| JP2708636B2 (en) | Information processing device maintenance control method | |
| JPS6313218B2 (en) | ||
| JP2975094B2 (en) | I/O device control device | |
| JPH06161783A (en) | Display control method in multi-OS system | |
| JPS63142424A (en) | Screen splitting method for virtual machine console device | |
| JPH0833835B2 (en) | Error recovery controller | |
| JPS6316778B2 (en) | ||
| JPH03268033A (en) | Remote debugging system | |
| JPS58127264A (en) | service processor | |
| JP2581327B2 (en) | A method for handling I/O interrupts in a virtual machine | |
| JPH02207335A (en) | Virtual computer system | |
| JPH02184935A (en) | Input/output supporting method for debugger | |
| JPS584365B2 (en) | Reset control system |