Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


15 years agosome fixes
Jack Lange [Fri, 30 Jan 2009 00:02:05 +0000]
some fixes

15 years agosome fixes for profiling
Jack Lange [Thu, 29 Jan 2009 22:10:49 +0000]
some fixes for profiling

15 years agoadded profiling support
Jack Lange [Thu, 29 Jan 2009 04:57:09 +0000]
added profiling support
and also added license to some files

15 years agochanged shadow memory map to use Red Black Tree
Jack Lange [Wed, 28 Jan 2009 23:37:08 +0000]
changed shadow memory map to use Red Black Tree
cleaned up shadow memory map interface

15 years agofixed debug print syntax errors
Jack Lange [Wed, 28 Jan 2009 23:36:36 +0000]
fixed debug print syntax errors

15 years agochanged the io_map implementation to use red-black trees instead of linked list
Jack Lange [Wed, 28 Jan 2009 00:31:54 +0000]
changed the io_map implementation to use red-black trees instead of linked list

15 years agofixed instruction emulation for 64 bit machines
Jack Lange [Tue, 27 Jan 2009 21:07:20 +0000]
fixed instruction emulation for 64 bit machines

15 years agofixed debug flags...
Jack Lange [Tue, 27 Jan 2009 20:46:00 +0000]
fixed debug flags...

15 years agoworking instruction emulation
Jack Lange [Sun, 25 Jan 2009 21:12:26 +0000]
working instruction emulation

15 years agoadded red-black tree implementation from linux
Jack Lange [Wed, 21 Jan 2009 23:25:02 +0000]
added red-black tree implementation from linux

15 years agoadded test directory for unit test files
Jack Lange [Wed, 21 Jan 2009 00:20:02 +0000]
added test directory for unit test files

15 years agoadded initial attempt at emulator
Jack Lange [Wed, 17 Dec 2008 23:02:57 +0000]
added initial attempt at emulator

15 years agofixed default build target
Jack Lange [Thu, 4 Dec 2008 21:25:50 +0000]
fixed default build target

15 years agosmall fixes
Jack Lange [Mon, 1 Dec 2008 23:28:49 +0000]
small fixes

15 years agostupid error fix
Jack Lange [Tue, 25 Nov 2008 00:41:19 +0000]
stupid error fix

15 years agoadded sock_set functions for select() support
Jack Lange [Tue, 25 Nov 2008 00:36:15 +0000]
added sock_set functions for select() support

15 years agoadded socket interface
Jack Lange [Mon, 24 Nov 2008 21:36:10 +0000]
added socket interface

15 years agoremoved kitten from Makefile
Jack Lange [Thu, 20 Nov 2008 22:35:31 +0000]
removed kitten from Makefile

15 years agoremoved kitten from the palacios tree,
Jack Lange [Thu, 20 Nov 2008 22:28:07 +0000]
removed kitten from the palacios tree,
Kitten is now an external dependency

15 years agomoved debugging functions over to new page table callback interfaces
Jack Lange [Tue, 4 Nov 2008 00:36:43 +0000]
moved debugging functions over to new page table callback interfaces

15 years agoreworked the paging functions
Jack Lange [Mon, 3 Nov 2008 23:55:18 +0000]
reworked the paging functions
*_lookup functions are now static local to vmm_paging.c and no longer return byte offsets for leaf pages
added page table drill functions
moved translate and access check functions over to drill implementations

15 years agohooked in page table walkers for 64 bit page table activation
Jack Lange [Fri, 31 Oct 2008 23:25:45 +0000]
hooked in page table walkers for 64 bit page table activation
bug fixes

15 years agoadded to string function for page_type enumerator
Jack Lange [Fri, 31 Oct 2008 23:12:11 +0000]
added to string function for page_type enumerator

15 years agoadded guest page table walkers
Jack Lange [Fri, 31 Oct 2008 23:05:16 +0000]
added guest page table walkers

15 years agofixed a ton of compile errors...
Jack Lange [Fri, 31 Oct 2008 22:33:35 +0000]
fixed a ton of compile errors...
I suck...

15 years agoadded page table walkers
Jack Lange [Fri, 31 Oct 2008 22:20:28 +0000]
added page table walkers

15 years agoadded full page table access check functions
Jack Lange [Fri, 31 Oct 2008 21:00:13 +0000]
added full page table access check functions

15 years agoadded pae+64 bit page table access checks
Jack Lange [Fri, 31 Oct 2008 19:36:06 +0000]
added pae+64 bit page table access checks
moved memory conversion functions to use new page table translate functions

15 years agoadded translation functions
Jack Lange [Fri, 31 Oct 2008 18:22:57 +0000]
added translation functions
fixed build errors

15 years agoadded the translation functions to the header file
Jack Lange [Thu, 30 Oct 2008 23:59:38 +0000]
added the translation functions to the header file

15 years agoadded guest page table translators for 32/32PAE/64 page tables
Jack Lange [Thu, 30 Oct 2008 23:56:23 +0000]
added guest page table translators for 32/32PAE/64 page tables

15 years agoadded lookup functions for all page table forms,
Jack Lange [Thu, 30 Oct 2008 23:14:30 +0000]
added lookup functions for all page table forms,
generalized the return types for the lookup functions
updated source tree to match
added large page forms for pae and 64 bit page tables

15 years agofixed xed to handle SMSW instructions
Jack Lange [Thu, 30 Oct 2008 22:15:05 +0000]
fixed xed to handle SMSW instructions
FreeDOS works

15 years agocleaned up the PAGE table access macros to be general implementations that work acros...
Jack Lange [Thu, 30 Oct 2008 22:14:01 +0000]
cleaned up the PAGE table access macros to be general implementations that work across all page table forms
starting to add page table translators

15 years agomoved paging debug functions to a separate file that gets included only into vmm_paging.c
Jack Lange [Thu, 30 Oct 2008 19:55:40 +0000]
moved paging debug functions to a separate file that gets included only into vmm_paging.c

15 years agounified and simplified the control register handlers to operate in all CPU modes
Jack Lange [Thu, 30 Oct 2008 05:30:57 +0000]
unified and simplified the control register handlers to operate in all CPU modes

15 years agoadded mem_size config variable
Jack Lange [Thu, 30 Oct 2008 05:30:17 +0000]
added mem_size config variable
not yet hooked up in the VMM
restructured the configuration

15 years agosetting up framework for 64 bit shadow paging
Jack Lange [Wed, 29 Oct 2008 21:48:02 +0000]
setting up framework for 64 bit shadow paging
streamlined geekos build

15 years agochanged the CR3 conversion macros to be physical/virtual address specific
Jack Lange [Wed, 29 Oct 2008 19:04:51 +0000]
changed the CR3 conversion macros to be physical/virtual address specific

15 years agorestructured the ctrl register handlers
Jack Lange [Wed, 29 Oct 2008 17:47:59 +0000]
restructured the ctrl register handlers
setting up the ctrl registers to call into the shadow paging subsystem for all shadow page operations
removed redundant shadow_cr3 variable from shadow paging state

15 years agoadded full EFER virtualization
Jack Lange [Wed, 29 Oct 2008 00:01:26 +0000]
added full EFER virtualization

15 years agoadded more 64 bit support,
Jack Lange [Tue, 28 Oct 2008 23:54:50 +0000]
added more 64 bit support,
moved around the control register handlers to segregate the different CPU modes
NOTE: They currently work, but they are wrong...

15 years agomore 64 bit guest support
Jack Lange [Mon, 27 Oct 2008 22:50:04 +0000]
more 64 bit guest support
we can mostly handle efer reads/writes
we can transition direct mapped page tables from 32 bit to 64 bit formats
added Page Table debugging support

15 years agoadded MSR hook framework
Jack Lange [Mon, 27 Oct 2008 21:05:51 +0000]
added MSR hook framework
added preliminary CR4 write handler, to handle PAE mode switch
added passthrough 32bit PAE page tables for non-paged 32 bit PAE mode

15 years agofixed format string issues due to printf attribute checks
Jack Lange [Sun, 26 Oct 2008 01:18:07 +0000]
fixed format string issues due to printf attribute checks

15 years agobacked out support for long paged real mode
Jack Lange [Sat, 25 Oct 2008 18:35:21 +0000]
backed out support for long paged real mode

15 years agoadded 32 bit support for geekos
Jack Lange [Sat, 25 Oct 2008 17:54:54 +0000]
added 32 bit support for geekos

15 years agoMerge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev...
Jack Lange [Wed, 22 Oct 2008 23:28:33 +0000]
Merge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev/palacios into kitten

15 years agoadded 64 bit paging for paged real mode
Jack Lange [Wed, 22 Oct 2008 23:28:20 +0000]
added 64 bit paging for paged real mode

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 23:27:02 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agoAdded auto-dependency tracking.
Trammell Hudson [Wed, 22 Oct 2008 23:25:27 +0000]
Added auto-dependency tracking.
Quieted build output.
Removed old targets and cleaned up some targets.

15 years agoMerge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev...
Jack Lange [Wed, 22 Oct 2008 22:12:55 +0000]
Merge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev/palacios into kitten

15 years agochanged VMCB to enter long paged real mode(?) if it exists.
Jack Lange [Wed, 22 Oct 2008 22:11:19 +0000]
changed VMCB to enter long paged real mode(?) if it exists.

15 years agoIt works!
Trammell Hudson [Wed, 22 Oct 2008 20:32:14 +0000]
It works!
- Fixed CR3 addresses to be kernel virtual addresses before
dereferencing them.
- Re-arranged v3_handle_shadow_invlpg()

15 years agoImprove panic message if asked to free a bad page
Trammell Hudson [Wed, 22 Oct 2008 20:31:36 +0000]
Improve panic message if asked to free a bad page

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 18:50:26 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agofixed shadow paging up to the next error
Jack Lange [Wed, 22 Oct 2008 18:47:48 +0000]
fixed shadow paging up to the next error

15 years agomore printf format fixes
Jack Lange [Wed, 22 Oct 2008 16:45:01 +0000]
more printf format fixes

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 16:43:44 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agotypecast fix
Jack Lange [Wed, 22 Oct 2008 16:43:25 +0000]
typecast fix

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 16:42:41 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agoadded address conversion to cached CR3 value
Jack Lange [Wed, 22 Oct 2008 16:42:09 +0000]
added address conversion to cached CR3 value

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 16:35:42 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agotypecasting fix
Jack Lange [Wed, 22 Oct 2008 16:35:13 +0000]
typecasting fix

15 years agoNo changes.
Trammell Hudson [Wed, 22 Oct 2008 16:34:55 +0000]
No changes.

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 16:33:38 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agofixed address conversion for CR3
Jack Lange [Wed, 22 Oct 2008 16:31:26 +0000]
fixed address conversion for CR3

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 16:10:42 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agoBetter reporting when vmm exits
Trammell Hudson [Wed, 22 Oct 2008 16:10:36 +0000]
Better reporting when vmm exits

15 years agoRe-enable debug printks from guest
Trammell Hudson [Wed, 22 Oct 2008 16:10:23 +0000]
Re-enable debug printks from guest

15 years agoAdded runtime option to print cpu number on each line
Trammell Hudson [Wed, 22 Oct 2008 16:09:55 +0000]
Added runtime option to print cpu number on each line

15 years agofixed all the printf style warnings/errors
Jack Lange [Wed, 22 Oct 2008 16:08:53 +0000]
fixed all the printf style warnings/errors

15 years agoEnable printf warnings on info/debug/trace os hooks
Trammell Hudson [Wed, 22 Oct 2008 15:40:43 +0000]
Enable printf warnings on info/debug/trace os hooks

15 years agoWired up keyboard interrupt to v3vee (and it works!).
Trammell Hudson [Wed, 22 Oct 2008 15:36:02 +0000]
Wired up keyboard interrupt to v3vee (and it works!).
Silenced all warnings in kitten build.
Removed dead prototypes in palacios.h.
Fixed race in delivering keyboard interrupt to v3vee before guest was started.
Depends on having IOAPIC configured to generate keyboard interrupts.

15 years agoFake IOAPIC address if there is no mptable found
Trammell Hudson [Wed, 22 Oct 2008 15:35:41 +0000]
Fake IOAPIC address if there is no mptable found

15 years agoImplemented vprintk() to allow V3VEE debug printfs to be forwarded to the console
Trammell Hudson [Wed, 22 Oct 2008 15:34:45 +0000]
Implemented vprintk() to allow V3VEE debug printfs to be forwarded to the console

15 years agoSilence warnings if CONFIG_V3VEE
Trammell Hudson [Wed, 22 Oct 2008 15:34:12 +0000]
Silence warnings if CONFIG_V3VEE

15 years agoRemoved acpi include directories
Trammell Hudson [Wed, 22 Oct 2008 14:18:41 +0000]
Removed acpi include directories

15 years agoDo not make oldconfig when building kitten
Trammell Hudson [Wed, 22 Oct 2008 14:16:28 +0000]
Do not make oldconfig when building kitten

15 years agofixed makefile to turn off vga
Jack Lange [Wed, 22 Oct 2008 02:27:23 +0000]
fixed makefile to turn off vga

15 years agofixed cdrom
Jack Lange [Wed, 22 Oct 2008 02:27:00 +0000]
fixed cdrom

15 years agofixed ins/outs and moved the gs.base save/restore point
Jack Lange [Wed, 22 Oct 2008 02:13:14 +0000]
fixed ins/outs and moved the gs.base save/restore point

15 years agoadded GS.BASE save/restore
Jack Lange [Wed, 22 Oct 2008 02:06:25 +0000]
added GS.BASE save/restore

15 years agoadded boot kitten2
Jack Lange [Wed, 22 Oct 2008 01:13:47 +0000]
added boot kitten2

15 years agofixed svm entry launch
Jack Lange [Wed, 22 Oct 2008 01:09:51 +0000]
fixed svm entry launch
added debugging

15 years agoDo not try to derefence current
Trammell Hudson [Wed, 22 Oct 2008 01:04:21 +0000]
Do not try to derefence current

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Wed, 22 Oct 2008 00:54:33 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

15 years agoDetect recursive page faults and halt
Trammell Hudson [Wed, 22 Oct 2008 00:53:58 +0000]
Detect recursive page faults and halt

15 years agoupdated to use pa_to_va address conversion
Jack Lange [Tue, 21 Oct 2008 23:44:50 +0000]
updated to use pa_to_va address conversion
now bombs out on first instruction of guest

15 years agoReflowed some files to conform to Kitten style guide and
Trammell Hudson [Tue, 21 Oct 2008 23:01:32 +0000]
Reflowed some files to conform to Kitten style guide and
replaced structure declarations with designated initializers.

15 years agoMerge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten
Trammell Hudson [Tue, 21 Oct 2008 22:43:25 +0000]
Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten

Conflicts:
kitten/init/main.c

15 years agoV3VEE compiles. Segfaults, but the callback structures work.
Trammell Hudson [Tue, 21 Oct 2008 22:38:40 +0000]
V3VEE compiles.  Segfaults, but the callback structures work.

15 years agoMerge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev...
Kevin Pedretti [Tue, 21 Oct 2008 22:12:16 +0000]
Merge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev/palacios into kitten

15 years agoMerge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev...
Peter Dinda [Tue, 21 Oct 2008 22:11:58 +0000]
Merge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev/palacios into kitten

15 years agoFix warnings
Kevin Pedretti [Tue, 21 Oct 2008 22:10:46 +0000]
Fix warnings

15 years agoFirst glue logic
Peter Dinda [Tue, 21 Oct 2008 22:10:33 +0000]
First glue logic

15 years agoMerge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev...
Kevin Pedretti [Tue, 21 Oct 2008 22:07:41 +0000]
Merge branch 'kitten' of ssh://sharedev@newskysaw.cs.northwestern.edu/home/sharedev/palacios into kitten

15 years agoProtect IDT table with a spinlock
Kevin Pedretti [Tue, 21 Oct 2008 22:03:46 +0000]
Protect IDT table with a spinlock

15 years agoUse the puppy linux iso instead of the init_task for V3VEE development
Trammell Hudson [Tue, 21 Oct 2008 21:53:34 +0000]
Use the puppy linux iso instead of the init_task for V3VEE development

15 years agoBoot a 1 G kitten kernel under qemu
Trammell Hudson [Tue, 21 Oct 2008 21:51:52 +0000]
Boot a 1 G kitten kernel under qemu