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.


13 years agoMinor changes to debugging, change to Makefile to support building TAGS files, added...
Patrick G. Bridges [Mon, 25 Oct 2010 19:25:58 +0000]
Minor changes to debugging, change to Makefile to support building TAGS files, added initial support for INIT/SIPI modes to vmx.c but multicore VMX still not yet working

13 years agoMore minor fixes on time keeping. VMM clock now appears to be essentially accurate...
Patrick G. Bridges [Thu, 21 Oct 2010 17:22:21 +0000]
More minor fixes on time keeping. VMM clock now appears to be essentially accurate to real time on QEMU

13 years agoMore minor updates for handling time. Virtually slower CPUs seem to be working, so...
Patrick G. Bridges [Wed, 20 Oct 2010 22:28:26 +0000]
More minor updates for handling time. Virtually slower CPUs seem to be working, so that in a core, you can specify khz="1000000" and the VMM will slow down that particular core by yielding the CPU back to the host when necessary. Still need to test/debug on real hardware as opposed to QEMU.

13 years agoAttempts to support virutally slower processors - broken!
Patrick G. Bridges [Wed, 20 Oct 2010 21:57:06 +0000]
Attempts to support virutally slower processors - broken!

13 years agoMinor cleanups on time handling.
Patrick G. Bridges [Wed, 20 Oct 2010 19:27:37 +0000]
Minor cleanups on time handling.

13 years agoMerge branch 'devel' into timer_control
Patrick G. Bridges [Tue, 19 Oct 2010 21:30:59 +0000]
Merge branch 'devel' into timer_control

13 years agoMinor compile fix.
Patrick G. Bridges [Tue, 19 Oct 2010 20:18:34 +0000]
Minor compile fix.

13 years agoFixed merge of apic.c
Patrick G. Bridges [Tue, 19 Oct 2010 20:16:04 +0000]
Fixed merge of apic.c

13 years agoMore updates getting basic version of time handling working.
Patrick G. Bridges [Tue, 19 Oct 2010 20:13:04 +0000]
More updates getting basic version of time handling working.

13 years agoremove debugging
Jack Lange [Tue, 19 Oct 2010 17:08:18 +0000]
remove debugging

13 years agolarge page changes
Jack Lange [Tue, 19 Oct 2010 17:04:40 +0000]
large page changes

13 years agoStill working on timer updates, heading towards being able to have a CPU
Patrick G. Bridges [Mon, 18 Oct 2010 22:26:50 +0000]
Still working on timer updates, heading towards being able to have a CPU
running at a different frequency than a host CPU.

13 years agoRemoved destination format (i.e. clustered logical vs. flat logical)
Patrick G. Bridges [Thu, 14 Oct 2010 19:52:14 +0000]
Removed destination format (i.e. clustered logical vs. flat logical)
information from the io_apic since it doesn't know that. The hardware
spec requires that the guest program all apics on the ICC bus into consistent
format mode, either all clustered or all flat, and the irq routing destination
in the io-apic consistently with that, but the io-apic doesn't actually know
if the destination is flat or clustered.

13 years agoFixed ioapic bug that caused interrupt routing entries to be stored incorrectly and...
Patrick G. Bridges [Tue, 12 Oct 2010 17:43:17 +0000]
Fixed ioapic bug that caused interrupt routing entries to be stored incorrectly and interrupts to be dispatched incorrectly in some modes

13 years agoRemove the old vnet header file from include/device
Lei Xia [Sun, 10 Oct 2010 04:19:59 +0000]
Remove the old vnet header file from include/device

13 years ago32 bit compatibility fix
Jack Lange [Thu, 7 Oct 2010 20:51:13 +0000]
32 bit compatibility fix

13 years agov3_start_guest now exhibits the former behavior when
Peter Dinda [Wed, 6 Oct 2010 22:20:05 +0000]
v3_start_guest now exhibits the former behavior when
configured for linux - namely the current thread becomes the BP
and thus v3_start_guest blocks

13 years agoAdded more error checking from on what is returned by ezXML to not generate image...
Patrick G. Bridges [Wed, 6 Oct 2010 18:04:26 +0000]
Added more error checking from on what is returned by ezXML to not generate image for incomplete parse.

13 years agofiledisk fixes
Jack Lange [Wed, 6 Oct 2010 17:44:07 +0000]
filedisk fixes

13 years agolinux fixes
Jack Lange [Thu, 12 Aug 2010 20:17:10 +0000]
linux fixes

13 years agoconfig fix
Jack Lange [Wed, 6 Oct 2010 17:41:05 +0000]
config fix

13 years agoFixed bug in v3_cfg_val where it would not return null if a child named *tag does...
Jack Lange [Wed, 6 Oct 2010 17:39:08 +0000]
Fixed bug in v3_cfg_val where it would not return null if a child named *tag does not exist.
Filedisk now accepts a mode from the config file.

Conflicts:

palacios/src/devices/filedisk.c

13 years agoFunctional file backend
Jack Lange [Wed, 6 Oct 2010 17:36:15 +0000]
Functional file backend

Conflicts:

palacios/src/devices/filedisk.c

13 years agoremoved redundant FILE option
Jack Lange [Wed, 6 Oct 2010 17:35:10 +0000]
removed redundant FILE option

Conflicts:

Kconfig

13 years agodisabled serial port debugging
Jack Lange [Wed, 6 Oct 2010 15:55:06 +0000]
disabled serial port debugging

13 years agoImplemented all and all-but-me shorthand delivery for IPIs
Peter Dinda [Wed, 6 Oct 2010 00:46:38 +0000]
Implemented all and all-but-me shorthand delivery for IPIs
where the logical destination mode is specified

13 years agoremoved virtual wire mode
Jack Lange [Tue, 5 Oct 2010 22:57:29 +0000]
removed virtual wire mode

13 years agothis will probably be a disaster...
Jack Lange [Tue, 5 Oct 2010 22:36:12 +0000]
this will probably be a disaster...

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios...
Jack Lange [Tue, 5 Oct 2010 22:35:12 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios/palacios into devel

Conflicts:
palacios/src/devices/icc_bus.c

13 years agoformat fix
Jack Lange [Tue, 5 Oct 2010 22:32:30 +0000]
format fix

13 years agosome format fixes
Jack Lange [Tue, 5 Oct 2010 22:31:48 +0000]
some format fixes

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios...
Peter Dinda [Tue, 5 Oct 2010 22:30:53 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios/palacios into devel

13 years agoFixed minor syntax error
Peter Dinda [Tue, 5 Oct 2010 22:30:46 +0000]
Fixed minor syntax error

13 years agofix for Linux rule breaking behavior
Jack Lange [Tue, 5 Oct 2010 22:28:46 +0000]
fix for Linux rule breaking behavior

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios...
Peter Dinda [Tue, 5 Oct 2010 22:14:04 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios/palacios into devel

Conflicts:

palacios/include/palacios/vm_guest.h
palacios/src/devices/apic.c
palacios/src/devices/io_apic.c
palacios/src/palacios/vmm_config.c
palacios/src/palacios/vmm_direct_paging_64.h
palacios/src/palacios/vmm_mem.c
utils/guest_creator/default.xml

13 years agoformat fixes
Jack Lange [Tue, 5 Oct 2010 21:11:56 +0000]
format fixes

13 years agominor header file reordering for clarity
Jack Lange [Tue, 5 Oct 2010 14:50:47 +0000]
minor header file reordering for clarity

13 years agoTime configuration parameters added. More time control code prototyped,
Patrick G. Bridges [Fri, 1 Oct 2010 21:36:23 +0000]
Time configuration parameters added. More time control code prototyped,
but no robust control in place yet.

13 years agoAdded initialization of yield_start_cycle to start_time()
Patrick G. Bridges [Fri, 1 Oct 2010 18:32:27 +0000]
Added initialization of yield_start_cycle to start_time()

13 years agoMOre minor fixes
Patrick G. Bridges [Fri, 1 Oct 2010 18:27:16 +0000]
MOre minor fixes

13 years agoPartially functional support for APIC/ICC clustered delivery,
Peter Dinda [Sun, 26 Sep 2010 20:51:48 +0000]
Partially functional support for APIC/ICC clustered delivery,
both physical and logical, needed for Linux with >2 cores.

Note that there is still a bug here somewhere - Linux >2 cores will
eventually die with an attempted physical delivery outside of the
available cores

13 years agoformat fixes
Jack Lange [Fri, 24 Sep 2010 23:03:06 +0000]
format fixes

13 years agomark APIC/IO-APIC/ICC bus as experimental features and removed them from the default...
Jack Lange [Fri, 24 Sep 2010 22:17:16 +0000]
mark APIC/IO-APIC/ICC bus as experimental features and removed them from the default configuration file

13 years agoadded option for secure symbiotic modules to symspy
Jack Lange [Fri, 24 Sep 2010 22:10:21 +0000]
added option for secure symbiotic modules to symspy

13 years agoPatch from kevin fixing typo in default.xml
Patrick G. Bridges [Tue, 21 Sep 2010 16:35:09 +0000]
Patch from kevin fixing typo in default.xml

13 years agoInitial testing of new time handling on VMX, initial implementation of new
Patrick G. Bridges [Mon, 20 Sep 2010 21:56:03 +0000]
Initial testing of new time handling on VMX, initial implementation of new
time handling on SVM.

13 years agoImplemented (but not yet tested) time interface changes for consistency
Patrick G. Bridges [Mon, 20 Sep 2010 19:58:46 +0000]
Implemented (but not yet tested) time interface changes for consistency
and, more importantly, and to control vmx offseting of TSC appropriately.

13 years agoFixed bug in io_apic.c where use of id_reg->val instead of id_reg->id caused
Patrick G. Bridges [Mon, 30 Aug 2010 18:02:14 +0000]
Fixed bug in io_apic.c where use of id_reg->val instead of id_reg->id caused
programming of the virtual IOAPIC ID to go awry when Linux had non-zero
bits in the reserved bits of the register.

13 years agoMinor warning/error prints corrected.
Patrick G. Bridges [Thu, 26 Aug 2010 20:07:06 +0000]
Minor warning/error prints corrected.

13 years agoEnabled channel 2 in 8254.c, added basic speaker I/O port support for
Patrick Bridges [Wed, 18 Aug 2010 22:52:30 +0000]
Enabled channel 2 in 8254.c, added basic speaker I/O port support for
polling the 8254 channel 2 countdown timer. Allows Linux to calibrate TSC
correctly on real hardware.

13 years agoRemoved spurious PrintError for red storm from apic.c, fixed large page
Patrick Bridges [Mon, 16 Aug 2010 19:46:57 +0000]
Removed spurious PrintError for red storm from apic.c, fixed large page
syntax in default.xml

13 years agochange to device configuration syntax
Jack Lange [Fri, 13 Aug 2010 23:01:12 +0000]
change to device configuration syntax

13 years agoAdded support for using large shadow pages with 32-bit 4MB page table entries
Patrick Bridges [Thu, 12 Aug 2010 17:23:22 +0000]
Added support for using large shadow pages with 32-bit 4MB page table entries

13 years agoActually fixed page alignment computation to be correct, moved into vmm_mem.h for...
Patrick Bridges [Thu, 12 Aug 2010 17:05:05 +0000]
Actually fixed page alignment computation to be correct, moved into vmm_mem.h for use with 4MB pages, too.

13 years agoAdded robust physical alignment check
Patrick Bridges [Wed, 11 Aug 2010 22:44:19 +0000]
Added robust physical alignment check

13 years agoChanges to support large shadow pages *correctly*.
Patrick Bridges [Wed, 11 Aug 2010 17:21:48 +0000]
Changes to support large shadow pages *correctly*.

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios...
Patrick Bridges [Wed, 11 Aug 2010 15:41:59 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios/palacios into devel

13 years agoMinor configuration fix for large page->large page fix.
Patrick Bridges [Tue, 10 Aug 2010 22:23:21 +0000]
Minor configuration fix for large page->large page fix.

13 years agoChanged to using strcasecmp to avoid adding library dependencies
Patrick Bridges [Tue, 10 Aug 2010 21:44:48 +0000]
Changed to using strcasecmp to avoid adding library dependencies

13 years agoAdded initial cut at support with using large pages in shadow
Patrick Bridges [Tue, 10 Aug 2010 20:53:06 +0000]
Added initial cut at support with using large pages in shadow
page tables to back large pages in the guest, assuming the
guest memory is appropraitely aligned.

13 years agoenable Alex's large page support
Jack Lange [Tue, 10 Aug 2010 20:38:25 +0000]
enable Alex's large page support

13 years agothis is a fix for the get_next_region function.
Alex Merritt [Tue, 10 Aug 2010 20:28:13 +0000]
this is a fix for the get_next_region function.

13 years agoAdded alignment of memory as a top-level VM parameter to ease use of 2MB
Patrick Bridges [Tue, 10 Aug 2010 20:00:00 +0000]
Added alignment of memory as a top-level VM parameter to ease use of 2MB
shadow pages under 2MB guest pages.

13 years agoadded framework for large page support...
Alex Merritt [Fri, 6 Aug 2010 19:41:31 +0000]
added framework for large page support...

13 years agoattribution fix
Jack Lange [Fri, 6 Aug 2010 19:39:21 +0000]
attribution fix

13 years agofix to svm outs default segment register bug
Erik van der Kouwe [Thu, 5 Aug 2010 23:51:01 +0000]
fix to svm outs default segment register bug

13 years agoupdated Linux host defaults
Jack Lange [Thu, 5 Aug 2010 18:50:24 +0000]
updated Linux host defaults

13 years agoadded file disk implementation
Jack Lange [Thu, 5 Aug 2010 18:28:48 +0000]
added file disk implementation

13 years agoIntegrated vmm_file and filedisk - now compiles
Peter Dinda [Thu, 5 Aug 2010 18:43:39 +0000]
Integrated vmm_file and filedisk - now compiles

13 years agoFile support added (interface to file support in host)
Jack Lange [Thu, 5 Aug 2010 18:48:46 +0000]
File support added (interface to file support in host)

Conflicts:

Kconfig

13 years agoactually add the filedisk implementation
Jack Lange [Thu, 5 Aug 2010 18:40:29 +0000]
actually add the filedisk implementation

13 years agoadded host OS file support configuration option
Jack Lange [Thu, 5 Aug 2010 18:20:01 +0000]
added host OS file support configuration option

13 years agominor fix
Jack Lange [Thu, 5 Aug 2010 00:45:11 +0000]
minor fix

13 years agoadded framework for large page support...
Jack Lange [Wed, 4 Aug 2010 23:46:04 +0000]
added framework for large page support...

13 years agoadded per core flags to guest structure
Jack Lange [Wed, 4 Aug 2010 23:26:55 +0000]
added per core flags to guest structure
currently large page support is the only enabled flag...

13 years agoadded memory alignment option to vmm memory mangement initialization and allocation
Jack Lange [Wed, 4 Aug 2010 23:18:41 +0000]
added memory alignment option to vmm memory mangement initialization and allocation

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios...
Peter Dinda [Wed, 4 Aug 2010 00:25:14 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios/palacios into devel

13 years agoFunctional 2 core linux guest
Peter Dinda [Wed, 4 Aug 2010 00:19:20 +0000]
Functional 2 core linux guest

Main addition is logical destination mode for IPIs

13 years agoadded configurable host features to Palacios configuration
Jack Lange [Tue, 3 Aug 2010 23:11:16 +0000]
added configurable host features to Palacios configuration

13 years agoadded new vmm_mem function to find next memory region
Alexander Merritt [Tue, 3 Aug 2010 22:40:41 +0000]
added new vmm_mem function to find next memory region

13 years agoupdate to the host OS interface to allow aligned page allocations
Alexander Merritt [Tue, 3 Aug 2010 22:24:55 +0000]
update to the host OS interface to allow aligned page allocations

13 years agoremoved unused addr_width field
Jack Lange [Tue, 3 Aug 2010 22:19:15 +0000]
removed unused addr_width field

13 years agoformat fixes
Jack Lange [Tue, 3 Aug 2010 20:02:37 +0000]
format fixes

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios...
Jack Lange [Tue, 3 Aug 2010 19:22:03 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios/palacios into devel

13 years agoNow correctly boots 2, 4, 8 core kitten
Peter Dinda [Tue, 3 Aug 2010 18:03:13 +0000]
Now correctly boots 2, 4, 8 core kitten

Fixed issue with memory region search on even number of cores (>2)

Cleaning up debugging output throughout

Added CONFIG_DEBUG_VMX and CONFIG_DEBUG_SVM

13 years agoFixed handling of the INTAK cycle for both apic and pic
Peter Dinda [Sat, 31 Jul 2010 01:15:18 +0000]
Fixed handling of the INTAK cycle for both apic and pic
Now the apic will only note an interrupt is in service if
it actually originated it, similar to the pic.   I also
added debugging prints to both apic and pic to indicate
when they ignore such INTAK end-of-cycle

INTAK -> begin_irq on interrupt controllers

13 years agoSemi-functional SMP (boots Kitten guest with two cores)
Peter Dinda [Fri, 30 Jul 2010 21:59:27 +0000]
Semi-functional SMP (boots Kitten guest with two cores)

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios...
Peter Dinda [Fri, 30 Jul 2010 21:58:35 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu//home/palacios/palacios into devel

13 years agoFinal changes to paging configuration format. Nested and shadow paging
Patrick Bridges [Fri, 30 Jul 2010 18:18:17 +0000]
Final changes to paging configuration format. Nested and shadow paging
both verified to work.

13 years agoFixed nested paging to work again, minor change to configuration syntax of shadow...
Patrick Bridges [Thu, 29 Jul 2010 21:30:05 +0000]
Fixed nested paging to work again, minor change to configuration syntax of shadow and nested paging.
Updated default.xml appropriately.

13 years agoMinor change to shadow paging to make sure it initializes unless nested
Patrick Bridges [Thu, 29 Jul 2010 19:03:45 +0000]
Minor change to shadow paging to make sure it initializes unless nested
explicitly requested

13 years agoResolved Patrick's debug patches and the external irq work
Peter Dinda [Thu, 29 Jul 2010 18:40:27 +0000]
Resolved Patrick's debug patches and the external irq work

13 years agoFixed stupid branch check, added more preconfig error checking
Patrick Bridges [Thu, 29 Jul 2010 18:23:00 +0000]
Fixed stupid branch check, added more preconfig error checking

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios...
Jack Lange [Thu, 29 Jul 2010 17:57:42 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw.cs.northwestern.edu/home/palacios/palacios into devel

13 years agoadded code formatting utilities
Jack Lange [Wed, 7 Jul 2010 23:15:38 +0000]
added code formatting utilities

13 years agoadded error checking to outs operation
Jack Lange [Thu, 22 Jul 2010 16:39:27 +0000]
added error checking to outs operation

13 years agoDebugged changes to make shadow and nested paging configurable again.
Patrick Bridges [Thu, 29 Jul 2010 17:48:14 +0000]
Debugged changes to make shadow and nested paging configurable again.

13 years agoChanged default.xml to have a setup for modern Linux/Kitten guests that
Patrick Bridges [Thu, 29 Jul 2010 16:26:53 +0000]
Changed default.xml to have a setup for modern Linux/Kitten guests that
uses the icc_bus/ioapic correctly

13 years agoMinor changes to make icc_bus.c compile without debugging on
Patrick Bridges [Thu, 29 Jul 2010 16:13:18 +0000]
Minor changes to make icc_bus.c compile without debugging on

13 years agoMerge branch 'devel' of ssh://bridges@newskysaw.cs.northwestern.edu/home/palacios...
Patrick Bridges [Thu, 29 Jul 2010 16:10:28 +0000]
Merge branch 'devel' of ssh://bridges@newskysaw.cs.northwestern.edu/home/palacios/palacios into devel