mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 14:16:47 +00:00
* try some ioctl flow & kvm device * add sys ioctl * 删掉一些debug信息 * 修改run-qemu.sh脚本,在QEMU中enable vmx * 修改cr0,cr4,msr寄存器enable VMX operations * enable vmx operation * allocate memory for vmcs with bug * allocate memory for vmcs * cpu virt-50% * single vcpu virt * add vmcs fields * CPU virt overall flow with bug * run vmlaunch success * run CPU virt with bug * 成功运行non-root模式的guest * 成功运行vmexit,进入vmx_return函数 * 成功运行vmlaunch, vmexit, vmresume * vmexit handler with bug * 完成vmexit cpuid handler * fix vmresume guest状态恢复的bug * 增加vm ioctl * refactor kvm 50% * refactor kvm 80% * FIXME: kvm vmlaunch failed * vmlaunch success * FIXME: output error * update guest_rsp * cpu virt refactor * add mmu related struct * add usermemory region workflow * add mem-virt workflow * add mem-virt * refactor code * add vcpu ioctl set_regs * rename hypervisor to vm & solve some deadlock bugs * workout mem pipeline * fix vmcs control setting bugs * refactor segment regs initialization * resovle conficts * resovle conficts * format code
33 lines
2.1 KiB
Plaintext
33 lines
2.1 KiB
Plaintext
00000000: 8cc8 8ed8 8ec0 e802 00eb feb8 1e00 89c5 ................
|
|
00000010: b910 00b8 0113 bb0c 00b2 00cd 10c3 4865 ..............He
|
|
00000020: 6c6c 6f2c 204f 5320 776f 726c 6421 0000 llo, OS world!..
|
|
00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000000f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000100: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000110: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000120: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000130: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000140: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000160: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000170: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000180: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
00000190: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
|
|
000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
|