• Home
Name Date Size #Lines LOC

..--

x86/08-May-2024-1,111377

KconfigD08-May-2024476 1411

MakefileD08-May-20241.2 KiB3024

READMED08-May-20241.7 KiB4835

core.cD08-May-202410.2 KiB371175

hypercalls.cD08-May-20249.3 KiB313134

interrupts_and_traps.cD08-May-202420.4 KiB658254

lg.hD08-May-20248.1 KiB261154

lguest_device.cD08-May-202415.6 KiB536263

lguest_user.cD08-May-202415.5 KiB543233

page_tables.cD08-May-202436.8 KiB1,197537

segments.cD08-May-20247.8 KiB22974

README

1Welcome, friend reader, to lguest.
2
3Lguest is an adventure, with you, the reader, as Hero.  I can't think of many
45000-line projects which offer both such capability and glimpses of future
5potential; it is an exciting time to be delving into the source!
6
7But be warned; this is an arduous journey of several hours or more!  And as we
8know, all true Heroes are driven by a Noble Goal.  Thus I offer a Beer (or
9equivalent) to anyone I meet who has completed this documentation.
10
11So get comfortable and keep your wits about you (both quick and humorous).
12Along your way to the Noble Goal, you will also gain masterly insight into
13lguest, and hypervisors and x86 virtualization in general.
14
15Our Quest is in seven parts: (best read with C highlighting turned on)
16
17I) Preparation
18	- In which our potential hero is flown quickly over the landscape for a
19	  taste of its scope.  Suitable for the armchair coders and other such
20	  persons of faint constitution.
21
22II) Guest
23	- Where we encounter the first tantalising wisps of code, and come to
24	  understand the details of the life of a Guest kernel.
25
26III) Drivers
27	- Whereby the Guest finds its voice and become useful, and our
28	  understanding of the Guest is completed.
29
30IV) Launcher
31	- Where we trace back to the creation of the Guest, and thus begin our
32	  understanding of the Host.
33
34V) Host
35	- Where we master the Host code, through a long and tortuous journey.
36	  Indeed, it is here that our hero is tested in the Bit of Despair.
37
38VI) Switcher
39	- Where our understanding of the intertwined nature of Guests and Hosts
40	  is completed.
41
42VII) Mastery
43	- Where our fully fledged hero grapples with the Great Question:
44	  "What next?"
45
46make Preparation!
47Rusty Russell.
48