JP5564466B2 - Virtualization device, virtualization device control method, virtualization device control program - Google Patents
Virtualization device, virtualization device control method, virtualization device control program Download PDFInfo
- Publication number
- JP5564466B2 JP5564466B2 JP2011124245A JP2011124245A JP5564466B2 JP 5564466 B2 JP5564466 B2 JP 5564466B2 JP 2011124245 A JP2011124245 A JP 2011124245A JP 2011124245 A JP2011124245 A JP 2011124245A JP 5564466 B2 JP5564466 B2 JP 5564466B2
- Authority
- JP
- Japan
- Prior art keywords
- processing request
- storage unit
- kernel
- virtualization
- input
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、仮想化支援機能を有するCPUを備えた仮想化装置に関する。 The present invention relates to a virtualization apparatus including a CPU having a virtualization support function.
物理マシンのコンピュータリソースを複数の論理リソースに分割して複数の仮想マシンを起動し、仮想マシン毎にOS(Operating System)を動作させる仮想化技術が存在する(例えば、特許文献1、2)。例えば、OSからハードウェアへの処理要求をソフトウェアによってエミュレートすることにより、単一の物理マシン上に複数のOSを動作させることができる。ここで、ソフトウェアによるハードウェアのエミュレート処理には相当のオーバーヘッドがかかる。そこで、ハードウェアレベルでこのような仮想化を支援する仮想化支援機能を有するCPU(Central Processing Unit)が利用されている。物理マシン上で動作する仮想マシンは、CPUが備えるこのような仮想化支援機能を介して処理要求を行うことにより、効率良く動作することができる。
ところで、物理マシン上でこのような仮想マシンを起動する場合、ユーザから入力されるコマンド等に応じて仮想マシンを起動させ、起動した複数の仮想マシンの状態等を管理する仮想マシン管理プログラムが利用されている。
There are virtualization technologies that divide a computer resource of a physical machine into a plurality of logical resources, start a plurality of virtual machines, and operate an OS (Operating System) for each virtual machine (for example,
By the way, when starting such a virtual machine on a physical machine, a virtual machine management program is used to start the virtual machine according to a command input by the user and manage the status of the started virtual machines. Has been.
しかしながら、このような仮想マシン管理プログラムを介さず、直接コマンドを入力することなどによっても仮想マシンは起動する。このように起動された仮想マシンは、仮想マシン管理プログラムによってその状態等を管理することができない。例えば、複数の物理マシンを仮想化してユーザに利用させるようなクラウドサービスを提供する場合、ネットワークを介した何らかの攻撃により管理外の仮想マシンが起動され動作していると、セキュリティの脅威となる可能性がある。そこで、このように仮想マシン管理プログラムを介さないで起動され動作している仮想マシンを検出することが望ましい。 However, the virtual machine is also started by directly inputting a command without using such a virtual machine management program. The state of the virtual machine activated in this way cannot be managed by the virtual machine management program. For example, when providing a cloud service that allows a user to use multiple physical machines by virtualizing them, if an unmanaged virtual machine is up and running due to some kind of attack over the network, it may become a security threat There is sex. Therefore, it is desirable to detect a virtual machine that is activated and operated without using a virtual machine management program.
本発明は、このような状況に鑑みてなされたもので、定められた仮想マシン以外の仮想マシンが、物理マシン上に動作していることを検出する仮想化装置、仮想化装置制御方法、仮想化装置制御プログラムを提供する。 The present invention has been made in view of such a situation, and a virtualization apparatus, a virtualization apparatus control method, a virtual apparatus for detecting that a virtual machine other than a predetermined virtual machine is operating on a physical machine is provided. A control apparatus control program is provided.
上述した課題を解決するために、本発明は、仮想化支援機能を有するCPUを備えた仮想化装置であって、CPU上で動作するカーネルに、カーネル上で動作するプロセスから入力される処理要求のうち、仮想化支援機能に対する処理要求が予め記憶される処理要求記憶部と、仮想化支援機能に対する処理要求をカーネルに入力することが予め定められたプロセスである仮想マシンを識別するプロセス識別情報が記憶されているプロセス記憶部と、プロセスからカーネルに入力された処理要求を検出する処理要求検出部と、処理要求検出部が処理要求を検出すると、処理要求記憶部に記憶されている処理要求を読み出し、処理要求検出部が検出した処理要求と、処理要求記憶部から読み出した処理要求とが一致しているか否かを判定する処理要求判定部と、処理要求検出部が処理要求を検出すると、処理要求を入力したプロセスを識別するプロセス識別情報が、プロセス記憶部に記憶されているか否かを判定するプロセス判定部と、処理要求判定部により、処理要求検出部が検出した処理要求と処理要求記憶部から読み出した処理要求とが一致すると判定され、かつ、プロセス判定部により、処理要求を入力したプロセスを識別するプロセス識別情報がプロセス記憶部に記憶されていないと判定された場合、警告を出力する警告部と、を備えることを特徴とする。 In order to solve the above-described problem, the present invention is a virtualization apparatus including a CPU having a virtualization support function, and a processing request input from a process operating on the kernel to a kernel operating on the CPU Among them, a process request storage unit for storing a process request for the virtualization support function in advance, and process identification information for identifying a virtual machine that is a predetermined process for inputting the process request for the virtualization support function to the kernel Is stored, a processing request detection unit that detects a processing request input from the process to the kernel, and a processing request stored in the processing request storage unit when the processing request detection unit detects a processing request. To determine whether or not the processing request detected by the processing request detection unit matches the processing request read from the processing request storage unit When the request determination unit and the processing request detection unit detect the processing request, the process determination unit that determines whether or not the process identification information for identifying the process that has input the processing request is stored in the process storage unit, and the processing request The determination unit determines that the processing request detected by the processing request detection unit matches the processing request read from the processing request storage unit, and the process determination unit includes process identification information for identifying the process that has input the processing request. And a warning unit that outputs a warning when it is determined that it is not stored in the process storage unit.
また、本発明は、仮想マシンの起動要求を受付け、起動要求に応じて、カーネル上に仮想マシンを起動させ、仮想マシンを識別するプロセス識別情報をプロセス記憶部に記憶させるプロセス管理部と、を備えることを特徴とする。 The present invention also includes a process management unit that receives a virtual machine activation request, activates the virtual machine on the kernel in response to the activation request, and stores process identification information for identifying the virtual machine in the process storage unit. It is characterized by providing.
また、本発明は、仮想化支援機能を有するCPUを備え、CPU上で動作するカーネルに、カーネル上で動作するプロセスから入力される処理要求のうち、仮想化支援機能に対する処理要求が予め記憶される処理要求記憶部と、仮想化支援機能に対する処理要求をカーネルに入力することが予め定められたプロセスである仮想マシンを識別するプロセス識別情報が記憶されているプロセス記憶部と、を備えた仮想化装置の仮想化装置制御方法であって、プロセスからカーネルに入力された処理要求を検出するステップと、処理要求を検出すると、処理要求記憶部に記憶されている処理要求を読み出し、検出した処理要求と、処理要求記憶部から読み出した処理要求とが一致しているか否かを判定するステップと、処理要求を入力したプロセスを識別するプロセス識別情報が、プロセス記憶部に記憶されているか否かを判定するステップと、検出した処理要求と処理要求記憶部から読み出した処理要求とが一致すると判定し、かつ、処理要求を入力したプロセスを識別するプロセス識別情報がプロセス記憶部に記憶されていないと判定した場合、警告を出力するステップと、を備えることを特徴とする。 In addition, the present invention includes a CPU having a virtualization support function, and a processing request for the virtualization support function is stored in advance in a kernel operating on the CPU, out of processing requests input from a process operating on the kernel. A processing request storage unit, and a process storage unit storing process identification information for identifying a virtual machine that is a predetermined process for inputting a processing request for the virtualization support function to the kernel. Virtualization apparatus control method for a virtualization apparatus, a step of detecting a processing request input to a kernel from a process, and a processing request stored in a processing request storage unit when a processing request is detected and detected A step for determining whether or not the request matches the processing request read from the processing request storage unit, and the process that has input the processing request The step of determining whether or not the process identification information to be identified is stored in the process storage unit is determined to match the detected processing request with the processing request read from the processing request storage unit, and the processing request is input A step of outputting a warning when it is determined that the process identification information for identifying the processed process is not stored in the process storage unit.
また、本発明は、仮想化支援機能を有するCPUを備え、CPU上で動作するカーネルに、カーネル上で動作するプロセスから入力される処理要求のうち、仮想化支援機能に対する処理要求が予め記憶される処理要求記憶部と、仮想化支援機能に対する処理要求をカーネルに入力することが予め定められたプロセスである仮想マシンを識別するプロセス識別情報が記憶されているプロセス記憶部と、を備えた仮想化装置のコンピュータに、プロセスからカーネルに入力された処理要求を検出するステップと、処理要求を検出すると、処理要求記憶部に記憶されている処理要求を読み出し、検出した処理要求と、処理要求記憶部から読み出した処理要求とが一致しているか否かを判定するステップと、処理要求を入力したプロセスを識別するプロセス識別情報が、プロセス記憶部に記憶されているか否かを判定するステップと、検出した処理要求と処理要求記憶部から読み出した処理要求とが一致すると判定し、かつ、処理要求を入力したプロセスを識別するプロセス識別情報がプロセス記憶部に記憶されていないと判定した場合、警告を出力するステップと、を実行させる仮想化装置制御プログラムである。 In addition, the present invention includes a CPU having a virtualization support function, and a processing request for the virtualization support function is stored in advance in a kernel operating on the CPU, out of processing requests input from a process operating on the kernel. A processing request storage unit, and a process storage unit storing process identification information for identifying a virtual machine that is a predetermined process for inputting a processing request for the virtualization support function to the kernel. Detecting a processing request input to the kernel from the process to the computer of the processing apparatus, and when detecting the processing request, the processing request stored in the processing request storage unit is read, and the detected processing request and the processing request storage A step for determining whether or not the processing request read from the processing unit matches, and a process for identifying the process that has input the processing request. The process that determines whether or not the process identification information is stored in the process storage unit, the process request that is detected matches the process request read from the process request storage unit, and the process request is input And a step of outputting a warning when it is determined that the process identification information for identifying is not stored in the process storage unit.
以上説明したように、本発明によれば、動作しているプロセスからカーネルに入力された処理要求を検出し、検出した処理要求が、CPUの仮想化支援機能に対する処理要求であるか否かを判定し、CPUの仮想化支援機能に対する処理要求であれば、処理要求を入力したプロセスが、予め定められた仮想マシンのプロセスであるか否かを判定し、予め定められた仮想マシンのプロセスでなければ、警告を出力するようにしたので、定められた仮想マシン以外の仮想マシンが、物理マシン上に動作していることを検出することが可能となる。 As described above, according to the present invention, a processing request input to the kernel from an operating process is detected, and whether or not the detected processing request is a processing request for the virtualization support function of the CPU. If it is a processing request for the virtualization support function of the CPU, it is determined whether or not the process that has input the processing request is a predetermined virtual machine process. If not, a warning is output, so that it is possible to detect that a virtual machine other than the specified virtual machine is operating on the physical machine.
以下、本発明の一実施形態について、図面を参照して説明する。
図1は、本実施形態による仮想化装置100の構成を示すブロック図である。仮想化装置100は、ハードウェア110を備えたコンピュータ装置であり、CPU111と、HD113と、メモリ114と、NIC115とを備えている。CPU111は、複数のOSの並行動作をより効率的に行うための仮想化支援機能であるVT(Virtualization Technology)112を有する中央演算処理装置である。VT112としては、例えばIntel VT(Intelは登録商標)や AMD−V(AMDは登録商標)などが適用できる。このようなVT112は、OSカーネル自体を仮想マシンのハイパーバイザとする仮想化技術に基づく、例えばKVM(Kernel-based Virtual Machine)のようなプログラムからの処理要求に応じて動作する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating the configuration of the
HD(Hard Disk)113は、データが記憶される磁気ディスクであり、補助記憶装置である。メモリ114は、データが記憶される半導体メモリであり、主記憶装置である。NIC(Network Interface Card)115は、ネットワーク通信を行う拡張カードである。仮想化装置100は、この他にもハードウェア110として様々な要素を備えていて良い。
ここでは、ハードウェアレベルでの仮想化支援機能として、CPU111がVT112を備える例を説明するが、他のハードウェア110の要素においても、ハードウェアレベルでの仮想化支援機能を有していても良い。
An HD (Hard Disk) 113 is a magnetic disk in which data is stored, and is an auxiliary storage device. The
Here, an example will be described in which the
このようなハードウェア110上でカーネル120が動作し、カーネル120上でアプリケーションプログラム等のプロセスが動作する。カーネル120は、OSの中核となるプログラムである。本実施形態では、Linux(登録商標)カーネルを想定して説明するが、他のOSカーネルでも良い。カーネル120は、コンピュータリソースやデータ等をファイル単位で管理するファイルシステム121の機能を有し、このようなファイルに対する処理要求を行うためのシステムコールをプロセスに公開している。システムコールは、カーネル120と、カーネル120上で動作するプロセスとのインタフェースである。
The
ここでは、プロセスがカーネル120のシステムコールを呼び出すことを、プロセスがカーネル120に処理要求を入力するという。図2、図3は、カーネル120に入力される処理要求の例を示す図である。処理要求としては、例えば、ファイルからデータを読み出す「read」、ファイルにデータを書き込む「write」、デバイスを制御する「ioctl」などが存在する。カーネル120は、カーネル120上で動作するプロセスから、このような処理要求の入力を受付け、入力された処理要求に応じてハードウェア110を動作させる。処理要求としては、例えば、ファイルの読み書き、VT112を含む各種ハードウェア要素への制御コマンド発行、プロセスやスレッドの新規生成、プロセスで使用するメモリの確保などが存在する。
Here, a process calls a system call of the
例えば、図1において符号aに示されるプロセスAが、システムコールを介してファイル「/tmp」のデータを読み出すreadの処理要求を入力したり、符号bに示されるプロセスBが、システムコールを介してファイル「/usr/harada」にデータを書き込むwriteの処理要求を入力したりすることができる。カーネル120は、処理要求に応じてハードウェア110にアクセスし、ファイルの読み書き等の処理を行う。
For example, the process A indicated by symbol a in FIG. 1 inputs a read processing request for reading the data of the file “/ tmp” via a system call, or the process B indicated by symbol b via a system call. Thus, a write processing request for writing data to the file “/ usr / harada” can be input. The
符号dに示されるプロセスDと、符号eに示されるプロセスEとは仮想マシンである。カーネル120にとって、仮想マシンは、他のアプリケーションプログラムと同様の1プロセスである。このような仮想マシンがカーネル120に対して入力する処理要求としては、自身のイメージファイル(プロセスDであればファイル「/data/imgD」、プロセスEであればファイル「/data/imgE」)に対する読み書き(readまたはwrite)を行うものと、VT112にアクセスするファイル「/dev/kvm」に対する制御(ioctl)を行うものとが存在する。特に、ファイル「/dev/kvm」に対する処理要求は、一般的に仮想マシンであるプロセスのみから入力される特徴的なものである。すなわち、ファイル「/dev/kvm」に対する処理要求を入力してくるプロセスは、仮想マシンである可能性が高いと考えられる。そこで、カーネル120は、入力される処理要求から、ファイル「/dev/kvm」に対する処理要求を検出することにより、仮想マシンである可能性が高いプロセスを検出できる。このような検出処理を行うために、カーネル120は、処理要求記憶部122と、処理要求検出部123と、処理要求判定部124とを備えている。これらの機能部は、例えばカーネル120に対するパッチプログラムとして提供できる。
A process D indicated by a symbol d and a process E indicated by a symbol e are virtual machines. For the
処理要求記憶部122には、CPU111上で動作するカーネル120に、カーネル120上で動作するプロセスから入力される処理要求のうち、VT112に対する処理要求が予め記憶される。例えば、本実施形態では、ファイル「/dev/kvm」に対する処理要求を示す文字列である「ioctl /dev/kvm」、「read /dev/kvm」、「write /dev/kvm」などが記憶される。あるいは、「/dev/kvm」のみの文字列が記憶されるようにしても良い。
The processing
処理要求検出部123は、プロセスから、システムコールを介してカーネル120に入力された処理要求を検出する。
処理要求判定部124は、処理要求検出部123が処理要求を検出すると、処理要求記憶部122に記憶されている処理要求を読み出し、処理要求検出部123が検出した処理要求と、処理要求記憶部122から読み出した処理要求とが一致しているか否かを判定する。例えば、処理要求判定部124は、処理要求検出部123が検出した処理要求が、「ioctl /dev/kvm」、「read /dev/kvm」、「write /dev/kvm」などの文字列を含むか否かを判定する。あるいは、処理要求判定部124は、「/dev/kvm」のみの文字列を含むか否かを判定するようにしても良い。また、処理要求判定部124は、処理要求検出部123が検出した処理要求と、処理要求記憶部122から読み出した処理要求とが一致すると判定した場合、その処理要求の入力元であるプロセスを識別するプロセスIDをプロセス判定部143に通知することにより、VT112に対する処理要求が入力されたことを通知する。
The processing request detection unit 123 detects a processing request input from the process to the
When the processing request detection unit 123 detects a processing request, the processing
カーネル120で動作するプロセスFは、カーネル120上に仮想マシンを起動させて管理する仮想マシン管理プログラムであり、プロセス記憶部141と、プロセス管理部142と、プロセス判定部143と、警告部144とを備えている。
プロセス記憶部141には、プロセス管理部142によって起動され管理されている仮想マシンのプロセスを識別するプロセスID(プロセス識別情報)が記憶されている。仮想マシンは、VT112に対する処理要求をカーネルに入力することが予め定められたプロセスである。図4は、プロセス記憶部141に記憶されるプロセス情報のデータ例を示す図である。プロセス記憶部141には、VM(Virtual Machine)名と、イメージファイルパスと、OSと、メモリと、CPUと、ステータスと、プロセスIDとが対応付けられて記憶される。VM名は、仮想マシンの名称である。イメージファイルパスは、ファイルシステムにおいて仮想マシンのイメージファイルが記憶された場所を識別する情報である。OSは、対応する仮想マシンにおいて動作するOSの種別を示す情報である。メモリは、対応する仮想マシンに割り振られたメモリリソースの容量を示す情報である。CPUは、対応する仮想マシンに割り振られたCPUリソースの個数を示す情報である。ステータスは、対応する仮想マシンの動作状態を示す情報であり、例えば「停止」や「実行中」等の情報が対応付けられる。プロセスIDは、カーネル120における仮想マシンのプロセスを識別する識別情報である。
The process F operating in the
The
プロセス管理部142は、仮想マシンの起動要求を受付け、受付けた起動要求に応じて、カーネル120上に仮想マシンを起動させ、起動させた仮想マシンを識別するプロセスIDをプロセス記憶部141に記憶させる。また、プロセス管理部142は、仮想マシンの停止要求を受付け、受付けた停止要求に応じた仮想マシンを停止させると、停止された仮想マシンに対応付けられてプロセス管理部142に記憶されたステータスを「停止」に更新する。
The
プロセス判定部143は、カーネル120の処理要求検出部123が処理要求を検出し、処理要求判定部124によって、VT112に対する処理要求が入力されたと判定されたことが通知されると、その処理要求を入力したプロセスを識別するプロセスIDが、プロセス記憶部141に記憶されているか否かを判定する。
When the process request detection unit 123 of the
警告部144は、処理要求判定部124により、処理要求検出部123が検出した処理要求と処理要求記憶部122から読み出した処理要求とが一致すると判定されたことが通知され、かつ、プロセス判定部143により、処理要求を入力したプロセスを識別するプロセスIDがプロセス記憶部141に記憶されていないと判定された場合、警告を出力する。ここで、警告を出力するとは、例えば、仮想化装置100のディスプレイに警告文を出力するようにしても良いし、警告文を含むログファイルを出力して記憶領域に記憶させるようにしても良いし、定められたメールアドレスを宛先として警告文をメール送信するようにしても良い。また、警告部144は、カーネル120に対して警告を出力し、カーネル120は、警告部144から出力された警告に応じて、VT112に対して入力された処理要求に応じた処理を実行しないようにしても良い。あるいは、例えば仮想化装置100のディスプレイに、処理要求に応じた処理を実行させるか否かを選択するダイアログを表示させることもできる。この場合、カーネル120は、処理要求を実行させると選択されたことが入力されれば、処理要求を実行させ、処理要求を実行させないと選択されたことが入力されれば、処理要求を実行させずに、そのプロセスを停止させるようにしても良い。
The
次に、本実施形態による仮想化装置100の動作例を説明する。図5は、このような仮想化装置100が警告を出力する動作例を示すフローチャートである。何らかのプロセスによりカーネル120に処理要求が入力されると(ステップS1)、処理要求検出部123は、入力された処理要求を検出する(ステップS2)。処理要求判定部124は、処理要求記憶部122に記憶された処理要求を読み出し(ステップS3)、ステップS2において検出された処理要求と、ステップS3において読み出した処理要求とが一致するか否かを判定する(ステップS4)。
Next, an operation example of the
処理要求判定部124が、ステップS2において検出された処理要求と、ステップS3において読み出した処理要求とが一致しないと判定すると(ステップS4:NO)、処理を終了する。一方、処理要求判定部124が、ステップS2において検出された処理要求と、ステップS3において読み出した処理要求とが一致すると判定すると(ステップS4:YES)、処理要求判定部124は、処理要求を入力したプロセスのプロセスIDを、プロセス判定部143に通知する(ステップS5)。プロセス判定部143は、プロセス記憶部141に記憶されているプロセスIDを読み出し、処理要求判定部124から通知されたプロセスIDがプロセス記憶部141に記憶されているか否かを判定する(ステップS6)。プロセス判定部143が、処理要求判定部124から通知されたプロセスIDがプロセス記憶部141に記憶されていると判定すれば(ステップS6:YES)、処理を終了する。一方、プロセス判定部143が、処理要求判定部124から通知されたプロセスIDがプロセス記憶部141に記憶されていないと判定すれば(ステップS6:NO)、警告部144は、警告を出力する(ステップS7)。
If the process
このようにすれば、仮想化装置100の管理者は、意図しない仮想マシンが仮想化装置100において動作していることを知ることができる。
なお、本実施形態では、プロセス管理部142とプロセス記憶部141とを備える仮想マシン管理プログラムのプロセスが、プロセス判定部143と警告部144とを備える例を説明したが、プロセス管理部142とプロセス記憶部141とを備える仮想マシン管理プログラムのプロセスとは別に、プロセス判定部143と警告部144とを備えるプロセスを起動させる構成としても良い。
In this way, the administrator of the
In this embodiment, an example in which the process of the virtual machine management program including the
なお、本発明における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより仮想マシンの管理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 It should be noted that the program for realizing the function of the processing unit in the present invention is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed to manage the virtual machine. May be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer system” includes a WWW system having a homepage providing environment (or display environment). The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.
100 仮想化装置
110 ハードウェア
111 CPU
112 VT
113 HD
114 メモリ
115 NIC
120 カーネル
121 ファイルシステム
122 処理要求記憶部
123 処理要求検出部
124 処理要求判定部
130 システムコール
141 プロセス記憶部
142 プロセス管理部
143 プロセス判定部
144 警告部
100
112 VT
113 HD
114
Claims (4)
前記CPU上で動作するカーネルに、当該カーネル上で動作するプロセスから入力される処理要求のうち、前記仮想化支援機能に対する処理要求が予め記憶される処理要求記憶部と、
前記仮想化支援機能に対する処理要求を前記カーネルに入力することが予め定められたプロセスである仮想マシンを識別するプロセス識別情報が記憶されているプロセス記憶部と、
前記プロセスから前記カーネルに入力された処理要求を検出する処理要求検出部と、
前記処理要求検出部が前記処理要求を検出すると、前記処理要求記憶部に記憶されている処理要求を読み出し、前記処理要求検出部が検出した処理要求と、前記処理要求記憶部から読み出した処理要求とが一致しているか否かを判定する処理要求判定部と、
前記処理要求検出部が前記処理要求を検出すると、当該処理要求を入力した前記プロセスを識別するプロセス識別情報が、前記プロセス記憶部に記憶されているか否かを判定するプロセス判定部と、
前記処理要求判定部により、前記処理要求検出部が検出した処理要求と前記処理要求記憶部から読み出した処理要求とが一致すると判定され、かつ、前記プロセス判定部により、処理要求を入力した前記プロセスを識別するプロセス識別情報が前記プロセス記憶部に記憶されていないと判定された場合、警告を出力する警告部と、
を備えることを特徴とする仮想化装置。 A virtualization device including a CPU having a virtualization support function,
A processing request storage unit that stores in advance a processing request for the virtualization support function among processing requests input from a process operating on the kernel to the kernel operating on the CPU;
A process storage unit that stores process identification information for identifying a virtual machine that is a predetermined process for inputting a processing request for the virtualization support function to the kernel;
A processing request detection unit that detects a processing request input to the kernel from the process;
When the processing request detection unit detects the processing request, the processing request stored in the processing request storage unit is read, the processing request detected by the processing request detection unit, and the processing request read from the processing request storage unit A processing request determination unit that determines whether or not and
When the processing request detection unit detects the processing request, a process determination unit that determines whether or not process identification information for identifying the process that has input the processing request is stored in the process storage unit;
The process in which the processing request detected by the processing request detection unit is determined to match the processing request read from the processing request storage unit by the processing request determination unit, and the processing request is input by the process determination unit A warning part for outputting a warning when it is determined that the process identification information for identifying is not stored in the process storage part;
A virtualization apparatus comprising:
を備えることを特徴とする請求項1に記載の仮想化装置。 A process management unit that accepts a startup request for the virtual machine, starts a virtual machine on the kernel in response to the startup request, and stores process identification information for identifying the virtual machine in the process storage unit;
The virtualization apparatus according to claim 1, comprising:
前記プロセスから前記カーネルに入力された処理要求を検出するステップと、
前記処理要求を検出すると、前記処理要求記憶部に記憶されている処理要求を読み出し、検出した処理要求と、前記処理要求記憶部から読み出した処理要求とが一致しているか否かを判定するステップと、
当該処理要求を入力した前記プロセスを識別するプロセス識別情報が、前記プロセス記憶部に記憶されているか否かを判定するステップと、
検出した処理要求と前記処理要求記憶部から読み出した処理要求とが一致すると判定し、かつ、処理要求を入力した前記プロセスを識別するプロセス識別情報が前記プロセス記憶部に記憶されていないと判定した場合、警告を出力するステップと、
を備えることを特徴とする仮想化装置制御方法。 A processing request that includes a CPU having a virtualization support function, and in which a processing request for the virtualization support function is stored in advance in a kernel that operates on the CPU and that is input from a process that operates on the kernel Virtualization comprising: a storage unit; and a process storage unit storing process identification information for identifying a virtual machine that is a predetermined process for inputting a processing request for the virtualization support function to the kernel A device virtualization device control method comprising:
Detecting a processing request input to the kernel from the process;
When the processing request is detected, the processing request stored in the processing request storage unit is read, and it is determined whether or not the detected processing request matches the processing request read from the processing request storage unit When,
Determining whether or not process identification information for identifying the process that has input the processing request is stored in the process storage unit;
It is determined that the detected processing request matches the processing request read from the processing request storage unit, and it is determined that the process identification information for identifying the process that has input the processing request is not stored in the process storage unit A step to output a warning, and
A virtualization apparatus control method comprising:
前記プロセスから前記カーネルに入力された処理要求を検出するステップと、
前記処理要求を検出すると、前記処理要求記憶部に記憶されている処理要求を読み出し、検出した処理要求と、前記処理要求記憶部から読み出した処理要求とが一致しているか否かを判定するステップと、
当該処理要求を入力した前記プロセスを識別するプロセス識別情報が、前記プロセス記憶部に記憶されているか否かを判定するステップと、
検出した処理要求と前記処理要求記憶部から読み出した処理要求とが一致すると判定し、かつ、処理要求を入力した前記プロセスを識別するプロセス識別情報が前記プロセス記憶部に記憶されていないと判定した場合、警告を出力するステップと、
を実行させる仮想化装置制御プログラム。 A processing request that includes a CPU having a virtualization support function, and in which a processing request for the virtualization support function is stored in advance in a kernel that operates on the CPU and that is input from a process that operates on the kernel Virtualization comprising: a storage unit; and a process storage unit storing process identification information for identifying a virtual machine that is a predetermined process for inputting a processing request for the virtualization support function to the kernel To the computer of the device,
Detecting a processing request input to the kernel from the process;
When the processing request is detected, the processing request stored in the processing request storage unit is read, and it is determined whether or not the detected processing request matches the processing request read from the processing request storage unit When,
Determining whether or not process identification information for identifying the process that has input the processing request is stored in the process storage unit;
It is determined that the detected processing request matches the processing request read from the processing request storage unit, and it is determined that the process identification information for identifying the process that has input the processing request is not stored in the process storage unit A step to output a warning, and
A virtualization apparatus control program for executing
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011124245A JP5564466B2 (en) | 2011-06-02 | 2011-06-02 | Virtualization device, virtualization device control method, virtualization device control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011124245A JP5564466B2 (en) | 2011-06-02 | 2011-06-02 | Virtualization device, virtualization device control method, virtualization device control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012252491A JP2012252491A (en) | 2012-12-20 |
JP5564466B2 true JP5564466B2 (en) | 2014-07-30 |
Family
ID=47525259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011124245A Active JP5564466B2 (en) | 2011-06-02 | 2011-06-02 | Virtualization device, virtualization device control method, virtualization device control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5564466B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4376587B2 (en) * | 2003-10-21 | 2009-12-02 | 株式会社エヌ・ティ・ティ・データ | Access history recording device and access control device |
US9213566B2 (en) * | 2008-11-26 | 2015-12-15 | Red Hat, Inc. | Implementing security in process-based virtualization |
-
2011
- 2011-06-02 JP JP2011124245A patent/JP5564466B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012252491A (en) | 2012-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11310286B2 (en) | Mechanism for providing external access to a secured networked virtualization environment | |
JP5904514B1 (en) | Method of automatically applying an update to a snapshot of a virtual machine, and its computer system and computer system program | |
CN109564523B (en) | Reducing performance variability using opportunistic hypervisors | |
JP5387415B2 (en) | Virtual computer system, policy enforcement system, policy enforcement method, and virtual computer control program | |
US9912535B2 (en) | System and method of performing high availability configuration and validation of virtual desktop infrastructure (VDI) | |
US9152447B2 (en) | System and method for emulating shared storage | |
US9697029B2 (en) | Guest idle based VM request completion processing | |
WO2015175671A1 (en) | Mechanism for providing load balancing to an external node utilizing a clustered environment for storage management | |
JP2010044613A (en) | Anti-virus method, computer, and program | |
BRPI0708338A2 (en) | migrating a virtual machine that has a feature such as a hardware device | |
JP6594452B2 (en) | Method, terminal, apparatus, and program for improving virtual machine performance | |
US8863120B2 (en) | Launching a software application in a virtual environment | |
WO2018184701A1 (en) | Method for operating virtual machines on a virtualization platform and corresponding virtualization platform | |
US20170046187A1 (en) | Guest driven surprise removal for pci devices | |
US9195518B1 (en) | System and method for communicating production virtual machine access events to a service appliance in a virtualized environment | |
JP5533005B2 (en) | Information processing apparatus, computer system, and program | |
JP5637934B2 (en) | Virtualization device, virtualization device control method, virtualization device control program | |
JP5564466B2 (en) | Virtualization device, virtualization device control method, virtualization device control program | |
US9292318B2 (en) | Initiating software applications requiring different processor architectures in respective isolated execution environment of an operating system | |
US11635970B2 (en) | Integrated network boot operating system installation leveraging hyperconverged storage | |
JP2009266027A (en) | Information processing apparatus and control method | |
JP2014225302A (en) | Virus detection program, virus detection method, and computer | |
JP6653786B2 (en) | I / O control method and I / O control system | |
JP5905412B2 (en) | Virtual computer system and processor performance measurement method | |
US10747567B2 (en) | Cluster check services for computing clusters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130516 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20130816 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130828 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140509 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140520 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140616 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5564466 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |