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 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

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Wed, 2 Feb 2011 20:00:08 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

13 years agoadded machine check framework
Jack Lange [Wed, 2 Feb 2011 19:57:46 +0000]
added machine check framework

13 years agoadd generic resource hook tracking to device manager
Jack Lange [Tue, 1 Feb 2011 03:39:06 +0000]
add generic resource hook tracking to device manager

13 years agoadded stricter types to the msr hook framework
Jack Lange [Tue, 1 Feb 2011 01:10:56 +0000]
added stricter types to the msr hook framework

13 years agoPalacios Network Direct Bridge interface update
Lei Xia [Sat, 29 Jan 2011 23:33:12 +0000]
Palacios Network Direct Bridge interface update

13 years agoReverted out changes in Makefile that support building Palacios as a Linux kernel...
Peter Dinda [Fri, 28 Jan 2011 21:15:56 +0000]
Reverted out changes in Makefile that support building Palacios as a Linux kernel module
These changes (omision of -fPIC) make it unlinkable as a regular Linux extension

13 years agobuild fixes and cleanup code to handle VMM shutdown
Jack Lange [Thu, 27 Jan 2011 20:00:44 +0000]
build fixes and cleanup code to handle VMM shutdown

13 years agoFix to the VNET clean code
Lei Xia [Thu, 27 Jan 2011 19:50:03 +0000]
Fix to the VNET clean code

13 years agoDeinit code of VNET and VNET-NIC device
Lei Xia [Thu, 27 Jan 2011 17:38:20 +0000]
Deinit code of VNET and VNET-NIC device

13 years agolicense fix
Jack Lange [Mon, 24 Jan 2011 19:21:28 +0000]
license fix

13 years agoRevert to use of -O instead of -O2 to be more compatible
Peter Dinda [Mon, 24 Jan 2011 18:46:28 +0000]
Revert to use of -O instead of -O2 to be more compatible
with older gccs.   -O2 breaks on 4.1.2 (RHEL5 std compiler)

13 years agoThis small patch causes MSR numbers to be displayed in hex, which makes it easier...
Erik van der Kouwe [Sat, 22 Jan 2011 00:57:24 +0000]
This small patch causes MSR numbers to be displayed in hex, which makes it easier to look them up in the various manuals.

13 years agoThis patch adds a few compiler conditionals so that multi-thread-specific code is...
Erik van der Kouwe [Sat, 22 Jan 2011 00:56:28 +0000]
This patch adds a few compiler conditionals so that multi-thread-specific code is not included if CONFIG_MULTITHREAD_OS is not set.

13 years agois patch adds a function v3_print_guest_state_all that calls v3_print_guest_state...
Erik van der Kouwe [Sat, 22 Jan 2011 00:52:02 +0000]
is patch adds a function v3_print_guest_state_all that calls v3_print_guest_state for each core

13 years agomodified DEBUG macro
Jack Lange [Sat, 22 Jan 2011 00:46:46 +0000]
modified DEBUG macro

13 years agoTo be able to run Windows I'll need more graphics capabilities. This patch is the...
Erik van der Kouwe [Fri, 21 Jan 2011 23:59:11 +0000]
To be able to run Windows I'll need more graphics capabilities. This patch is the first step. Changes made:

- Text resolution is dynamic and can be changed by the guest (frontend is optionally notified)

- Video memory address can be selected by the guest (0xA0000, 0xB0000 or 0xB8000)

- All CGA/VGA IO ports can now be properly read from and written to (although most are still ignored)

- Graphics modes are not supported yet, but at least they are reported to the user on the text screen

- Graphics wrap around the video memory boundary properly

13 years agoadded option to include debugging symbols in palacios library
Jack Lange [Fri, 21 Jan 2011 23:46:51 +0000]
added option to include debugging symbols in palacios library

13 years agosolved the case of the missing console output
Jack Lange [Fri, 21 Jan 2011 23:46:10 +0000]
solved the case of the missing console output

13 years agochanged deinitialization prototype to be compatible with Linux declarations
Jack Lange [Thu, 20 Jan 2011 21:58:11 +0000]
changed deinitialization prototype to be compatible with Linux declarations

13 years agoadded initial global shutdown functionality
Jack Lange [Thu, 20 Jan 2011 21:50:59 +0000]
added initial global shutdown functionality

13 years agoremoved outdated build environment
Jack Lange [Wed, 19 Jan 2011 19:09:40 +0000]
removed outdated build environment

13 years agoone more fix to the IDE layer
Jack Lange [Tue, 18 Jan 2011 20:20:56 +0000]
one more fix to the IDE layer

13 years agoIDE bug fixes to finally get us working with libata enabled kernels.
Jack Lange [Mon, 17 Jan 2011 20:02:50 +0000]
IDE bug fixes to finally get us working with libata enabled kernels.
Can now boot newer versions of Puppy.

13 years agofixed bug where deleting the memory map caused additional shadow page table allocations
Jack Lange [Thu, 13 Jan 2011 20:34:20 +0000]
fixed bug where deleting the memory map caused additional shadow page table allocations

13 years agoalmost all deinitialization has been added
Jack Lange [Thu, 13 Jan 2011 18:23:57 +0000]
almost all deinitialization has been added

13 years agofree up telemetry state and free backend state for the virtio devices
Jack Lange [Wed, 12 Jan 2011 22:19:38 +0000]
free up telemetry state and free backend state for the virtio devices

13 years agofree configuration data during deinitialization
Jack Lange [Wed, 12 Jan 2011 19:36:09 +0000]
free configuration data during deinitialization

13 years agodelete leftover resource hooks and various resource maps
Jack Lange [Wed, 12 Jan 2011 06:17:33 +0000]
delete leftover resource hooks and  various resource maps

13 years agostupid typo fix
Jack Lange [Wed, 12 Jan 2011 05:26:41 +0000]
stupid typo fix

13 years agouninitializing of memory hooks and host events
Jack Lange [Wed, 12 Jan 2011 05:16:43 +0000]
uninitializing of memory hooks and host events

13 years agorestructured device manager deinitialization
Jack Lange [Wed, 12 Jan 2011 04:23:46 +0000]
restructured device manager deinitialization

13 years agodeallocate arch specific IO/MSR hook state
Jack Lange [Wed, 12 Jan 2011 03:55:30 +0000]
deallocate arch specific IO/MSR hook state

13 years agoVMCB address space fix for free
Jack Lange [Wed, 12 Jan 2011 00:15:47 +0000]
VMCB address space fix for free

13 years agoadded support for unhooking an MSR
Jack Lange [Wed, 12 Jan 2011 00:15:28 +0000]
added support for unhooking an MSR

13 years agofreeing of virtual paging state during guest deinitialization
Jack Lange [Tue, 11 Jan 2011 23:21:14 +0000]
freeing of virtual paging state during guest deinitialization

13 years agoReplaces PrintDebug with PrintError where appropriate. In addition, this patch allows...
Erik van der Kouwe [Tue, 11 Jan 2011 22:03:04 +0000]
Replaces PrintDebug with PrintError where appropriate. In addition, this patch allows word writes to the modem status register, causing the second byte to be written into the scratch register. Windows XP does this for some reason.

13 years agoNVRAM seems to contain two century bytes. This patch adds the one that Windows XP...
Erik van der Kouwe [Tue, 11 Jan 2011 21:25:03 +0000]
NVRAM seems to contain two century bytes. This patch adds the one that Windows XP likes to use.

13 years agofixed bug in time initialization, and added deinitialization
Jack Lange [Thu, 6 Jan 2011 22:30:50 +0000]
fixed bug in time initialization, and added deinitialization

13 years agoadd interrupt deinitialization to devices
Jack Lange [Thu, 6 Jan 2011 22:12:32 +0000]
add interrupt deinitialization to devices

13 years agodeinitialization of interrupt state
Jack Lange [Thu, 6 Jan 2011 22:00:08 +0000]
deinitialization of interrupt state

13 years agoadded vmcs/vmcb freeing
Jack Lange [Thu, 6 Jan 2011 21:28:09 +0000]
added vmcs/vmcb freeing

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Mon, 29 Nov 2010 23:52:35 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoFix to direct host network bridge
Lei Xia [Mon, 29 Nov 2010 23:52:26 +0000]
Fix to direct host network bridge

13 years agoThis patch allows the guest to shut down the virtual machine (by triple-faulting...
Erik van der Kouwe [Mon, 29 Nov 2010 21:41:51 +0000]
This patch allows the guest to shut down the virtual machine (by triple-faulting) without triggering error messages (and probably avoiding issues in the multi-core case as well).

13 years agoThis patch implements the "Check power mode" IDE command which allows the latest...
Erik van der Kouwe [Mon, 29 Nov 2010 21:38:52 +0000]
This patch implements the "Check power mode" IDE command which allows the latest OpenBSD to boot, so we can boot two of the BSDs now.

13 years agoOpenBSD attempts to set the keyboard scancode set to 3, which we don't support. Howev...
Erik van der Kouwe [Mon, 29 Nov 2010 21:36:18 +0000]
OpenBSD attempts to set the keyboard scancode set to 3, which we don't support. However, it checks afterwards to see whether it was successful and tried set 2 if it was not. This patch ignores requests for set 3, causing OpenBSD to work properly without requiring actual code to implement the scancode conversion.

13 years agoThis patch computes the CMOS checksum after initializing the rest of the NVRAM regist...
Erik van der Kouwe [Mon, 29 Nov 2010 21:31:18 +0000]
This patch computes the CMOS checksum after initializing the rest of the NVRAM registers. It allows the guest to read the CMOS bytes included in the checksum as zeroes without causing the hypervisor to fail, although it still issues a warning in this case.

13 years agoThis patch virtualizes VM_CR_MSR to tell the guest it cannot use SVM.
Erik van der Kouwe [Fri, 26 Nov 2010 17:01:09 +0000]
This patch virtualizes VM_CR_MSR to tell the guest it cannot use SVM.

13 years agoThis implements command 0xf0 on the keyboard controller port 0x60.
Erik van der Kouwe [Fri, 26 Nov 2010 17:00:25 +0000]
This implements command 0xf0 on the keyboard controller port 0x60.

13 years agoNVRAM keeps a reference to IDE to query its geometry. It passes the device pointer...
Erik van der Kouwe [Fri, 26 Nov 2010 16:59:03 +0000]
NVRAM keeps a reference to IDE to query its geometry. It passes the device pointer to v3_ide_get_geometry while IDE expects to get the private pointer. This patch fixes that.

13 years agodisassemble the code around the RIP. It starts disassembly 64 bytes before and contin...
Erik van der Kouwe [Fri, 26 Nov 2010 16:57:29 +0000]
disassemble the code around the RIP. It starts disassembly 64 bytes before and continues up to 32 bytes after the RIP

13 years agoOpenBSD reads the century byte, which wasn't being initialized.
Erik van der Kouwe [Fri, 26 Nov 2010 16:46:37 +0000]
OpenBSD reads the century byte, which wasn't being initialized.

13 years agoThe serial IIR and FCR registers for the serial ports share an I/O port, reads access...
Erik van der Kouwe [Fri, 26 Nov 2010 16:45:49 +0000]
The serial IIR and FCR registers for the serial ports share an I/O port, reads accessing IIR and writes accessing FCR

13 years agoThis patch adds the ATAPI drive reset command to the ide device, which is needed...
Erik van der Kouwe [Fri, 26 Nov 2010 16:45:01 +0000]
This patch adds the ATAPI drive reset command to the ide device, which is needed for FreeBSD.

13 years agominor fixes for stopping VMs
Jack Lange [Wed, 24 Nov 2010 04:41:47 +0000]
minor fixes for stopping VMs

13 years agoupdated stop procedure to handle multiple cores
Jack Lange [Tue, 23 Nov 2010 23:57:57 +0000]
updated stop procedure to handle multiple cores

13 years agoadded free interface
Jack Lange [Tue, 23 Nov 2010 23:49:26 +0000]
added free interface

13 years agodeallocation of devices
Jack Lange [Tue, 23 Nov 2010 22:56:54 +0000]
deallocation of devices

13 years agoFix to the piix3
Lei Xia [Tue, 23 Nov 2010 18:47:00 +0000]
Fix to the piix3

13 years agoremoved io port check for northbridge
Jack Lange [Tue, 23 Nov 2010 17:11:16 +0000]
removed io port check for northbridge

13 years agoMinor fix
Lei Xia [Tue, 23 Nov 2010 17:05:43 +0000]
Minor fix

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Tue, 23 Nov 2010 16:31:34 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

13 years agochanged device registration interface
Jack Lange [Tue, 23 Nov 2010 16:31:26 +0000]
changed device registration interface

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Tue, 23 Nov 2010 04:00:52 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

Conflicts:

palacios/src/devices/nic_bridge.c

13 years agoMore fix on VNET code
Lei Xia [Tue, 23 Nov 2010 03:55:41 +0000]
More fix on VNET code
Now it is working on Linux host

13 years agoUpdated devices to remove vm_device dependencies.
Jack Lange [Tue, 23 Nov 2010 03:54:20 +0000]
Updated devices to remove vm_device dependencies.
The console is still a complete mess, but my attempt to fix it just made it stop working.

13 years agokeyboard buf fixes
Jack Lange [Mon, 22 Nov 2010 05:45:34 +0000]
keyboard buf fixes

13 years agoreworked device IO hook framework
Jack Lange [Mon, 22 Nov 2010 05:31:14 +0000]
reworked device IO hook framework