Skip to content

qemu, cuda, virtio and kernel driver etc, none of which I understand, I just in awe.

Notifications You must be signed in to change notification settings

66RING/learn-vgpu-the-hard-way

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpu虚拟化研究

基于API remoting

outline

  • stage1
    • 简单的内核驱动探测: probe到就打印点什么
    • qemu虚拟设备创建: 内核能在/dev/xxx识别到virtio设备
  • stage2
    • 完善内核驱动: 简单的ioctl用户态内核态通信, echo一下就行
    • 简单的host, guest通信, 简单输出点什么, 如一个int 0xdeadbeef
    • 引入cuda driver API, 使qemu能够编译成功
    • 分析最小cuda程序所需API
    • 学习API: 内核驱动的API, VMM的API
  • stage3
    • 完善程序: 使guest能跑通最小的cuda程序
    • 逆向分析各个cuda driver API的用法
    • 理清cuda程序本身的执行流程

idea tips

refs

About

qemu, cuda, virtio and kernel driver etc, none of which I understand, I just in awe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published