View previous topic :: View next topic |
Author |
Message |
rovnix Newbie cheater Reputation: 0
Joined: 09 Feb 2014 Posts: 18
|
Posted: Tue Aug 08, 2017 5:03 am Post subject: Hypervisor |
|
|
Hi and good day everyone.
What must i study or have an idea of before i can code a Hypervisor like virtualbox? i have knowledge of Driver programming in C and i know some ASM.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
|
Back to top |
|
|
Deine Mutter Expert Cheater Reputation: 1
Joined: 05 Apr 2006 Posts: 181
|
Posted: Thu Oct 05, 2017 4:54 am Post subject: |
|
|
Just out of curiosity, how much of this did you actually read before developing DBVM? I get that you need some serious low-level knowledge when you wanna get into hypervisor development, but we are talking about a convoluted mess of 2000 pages, most of which can be treated as reference work. If one aims for a thin hypervisor like DBVM, it seems like an overkill to me to read the Chipzilla manuals from start to finish (I know that the OP asked for a full-blown hypervisor like VBox, but maybe that's not what he wants). Projects like SimpleVisor [1] seem like a better place to get started, although some chapters of the Intel manuals are indispensable of course.
[1] https://github.com/ionescu007/SimpleVisor
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Oct 05, 2017 5:29 am Post subject: |
|
|
chapter 1 to 33, and 35 as reference (you can skip, 14, 15 and 16 as that's only for failing systems which you probably don't need to support and power management which you best leave to the OS)
you need to understand and implement segment registers, paging, real mode, protected mode, cpu boot initialization and multicore cpu init (if you intend to boot up your system with your VM)
task management implementation of the CPU (setting up the TSS)
implementing interrupts and handling exceptions. Know the difference between 32-bit and 64-bit mode interrupts (don't forget realmode interrupts if you intend to boot up)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|