Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what's the difference between usermode and kernelmode #12

Open
devtinoimao opened this issue Sep 5, 2024 · 2 comments
Open

what's the difference between usermode and kernelmode #12

devtinoimao opened this issue Sep 5, 2024 · 2 comments

Comments

@devtinoimao
Copy link

so I don't really know the difference however I read once in How Linux works (part 2 I think), is that the linux kernel has a space , one for the system and base of the kernel (kernelmode space I think) (my brain is cooked) and another space for user apps and the desktop, and mixing both spaces causes severe instability and crashes (well that's what I know atleast), so I'm just very confused in this

@nooodles2023
Copy link
Collaborator

For both real device and virtual device, we can't access it directly in a normal application program. The only way to use device is using driver installed on device. The driver is in kernel space, it provides interface for program in user space.

@nooodles2023
Copy link
Collaborator

In this project, the guest app loads opengl32.dll. Opengl operations will be transmited to MvisorVGPU.dll which translate them to virgl commands and deliver them to kernelmode driver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants