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 agoModified v3_mem to automatically scan for contiguous memory blocks.
Jack Lange [Sat, 2 Apr 2011 04:54:41 +0000]
Modified v3_mem to automatically scan for contiguous memory blocks.
Once a large enough region is located, it is offlined and passed directly to Palacios.

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Fri, 1 Apr 2011 16:40:14 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoVGA: Correct handling of word writes on address registers for passthrough.
Peter Dinda [Fri, 1 Apr 2011 16:40:04 +0000]
VGA: Correct handling of word writes on address registers for passthrough.

outw X, data where X is a VGA address register is theoretically a shortcut for:

outb X, data.lsb
outb X+1, data.msb

However, the broader semantics appear to be different.   This update preserves outws all the way
down to the passthrough device (if used).

13 years agoMinor Fix to VMX code
Lei Xia [Fri, 1 Apr 2011 14:26:01 +0000]
Minor Fix to VMX code
Now Palacios+Kitten works again on VT machine

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Wed, 30 Mar 2011 00:25:17 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agofix the VMCS invalid field error when read VMCS_GUEST_EFER
Lei Xia [Wed, 30 Mar 2011 00:25:11 +0000]
fix the VMCS invalid field error when read VMCS_GUEST_EFER

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Tue, 29 Mar 2011 22:28:24 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoFurther enhancement of string op emulation for full hooked regions
Peter Dinda [Tue, 29 Mar 2011 22:28:09 +0000]
Further enhancement of string op emulation for full hooked regions

13 years agoVGA: fixed dodgy passthrough support
Peter Dinda [Tue, 29 Mar 2011 22:26:00 +0000]
VGA: fixed dodgy passthrough support
Also added passthrough mirroring checks to facilitate debugging

13 years agoChanged semantics of guest page table drilling
Peter Dinda [Tue, 29 Mar 2011 22:23:36 +0000]
Changed semantics of guest page table drilling
Now a drill that terminates in guest data page that is not backed by
physical memory does not fail.  Instead, the relevant hva will be
returned as zero.   This change is needed to support some new lookups,
like gva_to_gpa where the gpa is in the middle of a full hook region

The previous semantics (fail when the above occurs) does not appear
to be used anywhere, so this change should not be consequential.

13 years agoAdded global function for searching for memory hooks
Peter Dinda [Tue, 29 Mar 2011 22:19:38 +0000]
Added global function for searching for memory hooks

13 years agoMerge branch 'devel' of ssh://newskysaw.cs.northwestern.edu//home/palacios/palacios...
Jack Lange [Tue, 29 Mar 2011 02:36:43 +0000]
Merge branch 'devel' of ssh://newskysaw.cs.northwestern.edu//home/palacios/palacios into devel

13 years agomodified menuconfig to support Mac OSX
Jack Lange [Tue, 29 Mar 2011 02:36:11 +0000]
modified menuconfig to support Mac OSX

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Fri, 25 Mar 2011 23:36:34 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoBasic support for printing real mode stacks
Peter Dinda [Fri, 25 Mar 2011 23:35:58 +0000]
Basic support for printing real mode stacks

13 years agoSupport for full memory hooks with string instructions
Peter Dinda [Fri, 25 Mar 2011 23:35:37 +0000]
Support for full memory hooks with string instructions

13 years agoadded needed header file
Jack Lange [Fri, 18 Mar 2011 22:26:07 +0000]
added needed header file

13 years agomore linux changes
Jack Lange [Fri, 18 Mar 2011 20:42:33 +0000]
more linux changes

13 years agoupdated module cleanup and added user space tools
Jack Lange [Fri, 18 Mar 2011 19:57:06 +0000]
updated module cleanup and added user space tools

13 years agolinux build fix and deinitialization fix
Jack Lange [Fri, 18 Mar 2011 18:25:52 +0000]
linux build fix and deinitialization fix

13 years agomore linux build tweeks
Jack Lange [Fri, 18 Mar 2011 18:22:53 +0000]
more linux build tweeks

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Thu, 17 Mar 2011 00:15:20 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoVGA: Corrected memory offseting calculations
Peter Dinda [Thu, 17 Mar 2011 00:15:11 +0000]
VGA: Corrected memory offseting calculations
VGA: Added 2 byte write support (VGA protocol for
     2 byte writes to index registers is that the second
     byte should be interpreted as being directed
     at the data register associated with the index register)

13 years agofixed linux_module dependency tracking
Jack Lange [Wed, 16 Mar 2011 00:53:29 +0000]
fixed linux_module dependency tracking

13 years agoSet appropriate Linux Kconfig defaults
Jack Lange [Wed, 16 Mar 2011 00:28:39 +0000]
Set appropriate Linux Kconfig defaults

13 years agoreworked build system to automatically compile Linux kernel module when selected...
Jack Lange [Wed, 16 Mar 2011 00:11:45 +0000]
reworked build system to automatically compile Linux kernel module when selected as the target OS

13 years agominor alignment change
Jack Lange [Wed, 16 Mar 2011 00:11:20 +0000]
minor alignment change

13 years agoadded 64 bit operand support
Jack Lange [Tue, 15 Mar 2011 23:05:54 +0000]
added 64 bit operand support

13 years agoadded checks for 64 bit operand decoding
Jack Lange [Tue, 15 Mar 2011 22:11:47 +0000]
added checks for 64 bit operand decoding

13 years agoVGA: graphics controller implementation (mem read/write)
Peter Dinda [Tue, 15 Mar 2011 20:48:40 +0000]
VGA:  graphics controller implementation (mem read/write)
VGA:  passthrough added

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Tue, 15 Mar 2011 00:27:10 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoVGA state, i/o hooks, mem hook implemented
Peter Dinda [Tue, 15 Mar 2011 00:26:52 +0000]
VGA state, i/o hooks, mem hook implemented

13 years agoThis patch fixes a compiler warning for me (compiling on 32-bits).
Erik van der Kouwe [Sat, 12 Mar 2011 07:46:34 +0000]
This patch fixes a compiler warning for me (compiling on 32-bits).

13 years agoThis patch prevents v3_delete_mem_region from freeing memory when it still needs...
Erik van der Kouwe [Sat, 12 Mar 2011 07:45:11 +0000]
This patch prevents v3_delete_mem_region from freeing memory when it still needs to be read.

13 years agoWindows XP uses the "get irq routing options" PCIBIOS function early in boot. This...
Erik van der Kouwe [Sat, 12 Mar 2011 07:43:40 +0000]
Windows XP uses the "get irq routing options" PCIBIOS function early in boot. This patch add it. the code is taken from the BOCHS BIOS, where it has been implemented after this version of the BIOS was taken for Palacios.

13 years agoformat fix
Jack Lange [Sat, 12 Mar 2011 07:29:32 +0000]
format fix

13 years agomoved linux module to main Palacios tree
Jack Lange [Thu, 10 Mar 2011 19:28:33 +0000]
moved linux module to main Palacios tree

13 years agoadded initial 64 bit decoding support
Jack Lange [Thu, 10 Mar 2011 18:37:32 +0000]
added initial 64 bit decoding support

13 years agoVGA: added internal state structure and comments on operation
Peter Dinda [Thu, 10 Mar 2011 17:56:51 +0000]
VGA: added internal state structure and comments on operation

13 years agoAdded stub for VGA implementation and detailed VGA register struct defs
Peter Dinda [Thu, 10 Mar 2011 16:59:55 +0000]
Added stub for VGA implementation and detailed VGA register struct defs

13 years agoMore nvram cleanup
Peter Dinda [Thu, 10 Mar 2011 16:34:40 +0000]
More nvram cleanup

13 years agoImplemented PASSTHROUGH and IGNORE (without printing)
Peter Dinda [Thu, 10 Mar 2011 00:38:34 +0000]
Implemented PASSTHROUGH and IGNORE (without printing)

13 years agoConverted NVRAM RTC to use timers instead of the host timer event
Peter Dinda [Thu, 10 Mar 2011 00:37:24 +0000]
Converted NVRAM RTC to use timers instead of the host timer event

13 years agointernal decoders works enough to boot a 32 bit linux guest
Jack Lange [Wed, 9 Mar 2011 01:10:53 +0000]
internal decoders works enough to boot a 32 bit linux guest

13 years agomore decoder work
Jack Lange [Tue, 8 Mar 2011 22:31:39 +0000]
more decoder work

13 years agoadded null library files to fix linking
Jack Lange [Tue, 8 Mar 2011 03:01:20 +0000]
added null library files to fix linking

13 years agoadded segment offsets to memory operand calculations
Jack Lange [Tue, 8 Mar 2011 02:53:50 +0000]
added segment offsets to memory operand calculations

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Tue, 8 Mar 2011 00:23:33 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

13 years agodecoder updates
Jack Lange [Tue, 8 Mar 2011 00:23:23 +0000]
decoder updates

13 years agoStart at support for multiple VMs per core on VMX systems. Minor compile fixup for...
Patrick G. Bridges [Mon, 7 Mar 2011 22:54:11 +0000]
Start at support for multiple VMs per core on VMX systems. Minor compile fixup for Xed as well

13 years agoMerge of changes from pull
Patrick G. Bridges [Sun, 6 Mar 2011 22:56:23 +0000]
Merge of changes from pull

13 years agoChanges to Kconfig.stdlibs that aren't actually changes so that git pull works
Patrick G. Bridges [Sun, 6 Mar 2011 22:55:00 +0000]
Changes to Kconfig.stdlibs that aren't actually changes so that git pull works

13 years agodecoder updates
Jack Lange [Sun, 6 Mar 2011 01:11:15 +0000]
decoder updates

13 years agofixed local core startup check
Jack Lange [Fri, 4 Mar 2011 22:28:02 +0000]
fixed local core startup check

13 years agoadded support for specifiying logical core targets for a guest configuration
Jack Lange [Fri, 4 Mar 2011 22:26:06 +0000]
added support for specifiying logical core targets for a guest configuration

13 years agoinitial checking of internal decoder
Jack Lange [Fri, 4 Mar 2011 22:05:14 +0000]
initial checking of internal decoder

13 years agoadded extension framework
Jack Lange [Thu, 3 Mar 2011 21:22:25 +0000]
added extension framework

13 years agov3_file_close asserts open rather than close
Erik van der Kouwe [Thu, 3 Mar 2011 18:08:36 +0000]
v3_file_close asserts open rather than close

13 years agofixed dest_apic determination
Jack Lange [Wed, 2 Mar 2011 22:55:32 +0000]
fixed dest_apic determination

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Wed, 2 Mar 2011 22:21:39 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

Conflicts:

palacios/src/devices/apic.c

13 years agoupdates to make things more configurable
Jack Lange [Wed, 2 Mar 2011 22:14:24 +0000]
updates to make things more configurable

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Wed, 2 Mar 2011 21:46:24 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoAdded correct physical delivery check for apic
Peter Dinda [Wed, 2 Mar 2011 21:46:11 +0000]
Added correct physical delivery check for apic
   delivery to apic X goes to apic whose currrent
   lapicid is X

13 years agoPrints last exit reason when handler fails
Peter Dinda [Wed, 2 Mar 2011 21:42:08 +0000]
Prints last exit reason when handler fails

13 years agoError printed as error instead of debug
Peter Dinda [Wed, 2 Mar 2011 21:41:39 +0000]
Error printed as error instead of debug

13 years agoCorrected handling of decode of memory operands that have a
Peter Dinda [Wed, 2 Mar 2011 21:36:03 +0000]
Corrected handling of decode of memory operands that have a
displacement.   This now correctly handles negative displacements
where the displacement width is <64 bits.

13 years agochange virtualized time configuration
Jack Lange [Tue, 1 Mar 2011 21:42:53 +0000]
change virtualized time configuration

13 years agoreverted host_cpu_id changes because it broke multicore functionality
Jack Lange [Tue, 1 Mar 2011 18:35:57 +0000]
reverted host_cpu_id changes because it broke multicore functionality

13 years agoremoved locking because it was broken.
Jack Lange [Tue, 1 Mar 2011 00:37:08 +0000]
removed locking because it was broken.

13 years agoMerge branch 'devel' of ssh://newskysaw.cs.northwestern.edu/home/palacios/palacios...
Patrick G. Bridges [Fri, 25 Feb 2011 19:51:33 +0000]
Merge branch 'devel' of ssh://newskysaw.cs.northwestern.edu/home/palacios/palacios into devel

13 years agoMore timing cleanup with a fix to 8254.c for running cores slower than
Patrick G. Bridges [Fri, 25 Feb 2011 19:50:23 +0000]
More timing cleanup with a fix to 8254.c for running cores slower than
host speed; multiple guest CPUs on a single host CPU seems broken, still
but more testing/debugging is needed.

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Fri, 25 Feb 2011 03:08:45 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoadd updated vgabios with "Start X fails" bug fixed
Lei Xia [Fri, 25 Feb 2011 03:08:41 +0000]
add updated vgabios with "Start X fails" bug fixed

13 years agoSimplified interface to timekeeping API, added to VMX code
Patrick G. Bridges [Wed, 23 Feb 2011 16:57:43 +0000]
Simplified interface to timekeeping API, added to VMX code

13 years agoFixups to let us run multiple guests on a single CPU again, and started fixing
Patrick G. Bridges [Tue, 22 Feb 2011 22:21:23 +0000]
Fixups to let us run multiple guests on a single CPU again, and started fixing
some time virtualization issues as well.

13 years agoupdated efer write behavior (DOES NOT SUPPORT INTEL EPT CPUS)
Jack Lange [Fri, 18 Feb 2011 02:48:27 +0000]
updated efer write behavior (DOES NOT SUPPORT INTEL EPT CPUS)

13 years agomake EFER hook permanent
Jack Lange [Fri, 18 Feb 2011 02:35:51 +0000]
make EFER hook permanent

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Fri, 18 Feb 2011 01:20:40 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

13 years agotypo fix
Jack Lange [Fri, 18 Feb 2011 01:20:33 +0000]
typo fix

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Fri, 18 Feb 2011 01:04:52 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoFix to the VNET route update interface
Lei Xia [Fri, 18 Feb 2011 01:04:43 +0000]
Fix to the VNET route update interface

13 years agoadded xml output back
Jack Lange [Thu, 17 Feb 2011 23:32:57 +0000]
added xml output back

13 years agoMerge branch 'devel' of ssh://newskysaw.cs.northwestern.edu/home/palacios/palacios...
Patrick G. Bridges [Thu, 17 Feb 2011 18:52:18 +0000]
Merge branch 'devel' of ssh://newskysaw.cs.northwestern.edu/home/palacios/palacios into devel

13 years agoFixes to time code to allow virtualization to hide costs of running in the
Patrick G. Bridges [Thu, 17 Feb 2011 18:51:32 +0000]
Fixes to time code to allow virtualization to hide costs of running in the
VM and attempt to hide hte costs of entering the VM.

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Thu, 17 Feb 2011 01:00:36 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoAPIC debugging
Peter Dinda [Thu, 17 Feb 2011 01:00:24 +0000]
APIC debugging

13 years agoClean of virtio NIC, vnet-bridge code
Lei Xia [Wed, 16 Feb 2011 22:36:09 +0000]
Clean of virtio NIC, vnet-bridge code
add RTL8139 virtual network device

13 years agoAdd pointer validation to the Direct Network bridge
Lei Xia [Sun, 13 Feb 2011 23:50:30 +0000]
Add pointer validation to the Direct Network bridge

13 years agoFix to NE2000, now it is offcically working
Lei Xia [Sun, 13 Feb 2011 23:49:24 +0000]
Fix to NE2000, now it is offcically working

13 years agoMinor Fix
Lei Xia [Fri, 11 Feb 2011 23:04:46 +0000]
Minor Fix

13 years agolowest priority delivery for logical addresses
Peter Dinda [Fri, 11 Feb 2011 19:39:27 +0000]
lowest priority delivery for logical addresses
First cut at synchronization framework

13 years agoAdd RTL8139 virtual network device
Lei Xia [Fri, 11 Feb 2011 18:16:34 +0000]
Add RTL8139 virtual network device

13 years agoadd statistic structure to virtual ethernet devices
Lei Xia [Fri, 11 Feb 2011 18:13:38 +0000]
add statistic structure to virtual ethernet devices

13 years agoFix the NE2k card
Lei Xia [Mon, 7 Feb 2011 23:29:33 +0000]
Fix the NE2k card
Fix the config on NE2k
Minor formt of NET code

13 years agoChange the direct network bridge interface
Lei Xia [Sun, 6 Feb 2011 17:01:55 +0000]
Change the direct network bridge interface

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Sun, 6 Feb 2011 06:51:56 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoAdd MAC address configure support on Virtio NIC
Lei Xia [Sun, 6 Feb 2011 06:51:39 +0000]
Add MAC address configure support on Virtio NIC
add MAC based packet demultiplexing in direct network bridge

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Peter Dinda [Fri, 4 Feb 2011 23:38:05 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoCorrected APIC IPI and IRQ dispatch routines
Peter Dinda [Fri, 4 Feb 2011 23:37:47 +0000]
Corrected APIC IPI and IRQ dispatch routines
Noted assumption in vcore startup

13 years agoattribution fix for the machine check framework
Philip Soltero [Wed, 2 Feb 2011 20:03:53 +0000]
attribution fix for the machine check framework