Commit 99c6c42 1 parent a0944fb commit 99c6c42 Copy full SHA for 99c6c42
File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,8 @@ vmx_longjmpはvmx_setjmpと対になっている関数で、POSIX APIのsetjmp/l
58
58
intel/ディレクトリにはIntel VT-xに依存したコード群が置かれています。
59
59
今回はゲストマシン実行ループの中心となるvmx_runと、VMExitのハンドラ関数であるvmx_exit_processを解説します。
60
60
61
+ # ## リスト1 sys/amd64/vmm/intel/vmx.c
61
62
` ` `
62
- リスト1 sys/amd64/vmm/intel/vmx.c
63
-
64
63
......(省略)......
65
64
1197: static int
66
65
1198: vmx_exit_process(struct vmx *vmx, int vcpu, struct vm_exit *vmexit)
@@ -156,9 +155,8 @@ vmx_support.SはC言語で記述できない、コンテキストの退避/復
156
155
今回は、vmx_setjmp・vmx_longjmpを解説します。
157
156
158
157
158
+ # ## リスト2 sys/amd64/vmm/intel/vmx_support.S
159
159
` ` `
160
- リスト2 sys/amd64/vmm/intel/vmx_support.S
161
-
162
160
......(省略)......
163
161
100: /*
164
162
101: * int vmx_setjmp(ctxp)
@@ -264,9 +262,8 @@ vmx_support.SはC言語で記述できない、コンテキストの退避/復
264
262
vmm.cは、Intel VT-xとAMD-Vの2つの異なるハードウェア仮想化支援機能のラッパー関数を提供しています。
265
263
今回はvmx_runのラッパー関数のvm_runを解説します。
266
264
265
+ # ## リスト3 sys/amd64/vmm/vmm.c
267
266
` ` `
268
- リスト3 sys/amd64/vmm/vmm.c
269
-
270
267
......(省略)......
271
268
672: int
272
269
673: vm_run(struct vm *vm, struct vm_run *vmrun)
@@ -301,6 +298,3 @@ VMX non root modeからvmm.koへVMExitしてきたときの処理について、
301
298
Copyright (c) 2014 Takuya ASADA. 全ての原稿データ は
302
299
クリエイティブ・コモンズ 表示 - 継承 4.0 国際
303
300
ライセンスの下に提供されています。
304
-
305
- 参考文献
306
- ========
You can’t perform that action at this time.
0 commit comments