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

13 years agoadd backend device for direct host network bridge
Lei Xia [Mon, 22 Nov 2010 02:24:28 +0000]
add backend device for direct host network bridge

13 years agoMinor fix on virtio network device config
Lei Xia [Sun, 21 Nov 2010 17:02:54 +0000]
Minor fix on virtio network device config

raw packet interface implementation

13 years agoIt seems FreeBSD sets the cursor to an out-of-screen location while booting. This...
Erik van der Kouwe [Fri, 19 Nov 2010 17:40:08 +0000]
It seems FreeBSD sets the cursor to an out-of-screen location while booting. This patch adds checks to prevent that from being a problem. It also adds asserts in cga.c to make related buffer overflows easier to debug in the future

13 years agoThe Palacios PIC does not implement the set-priority command and this causes the...
Erik van der Kouwe [Fri, 19 Nov 2010 17:39:11 +0000]
The Palacios PIC does not implement the set-priority command and this causes the VM to be shut down. AFAICS the PIC currently doesn't handle priorities at all, so this patch just ignores the command.

13 years agoThis command implements the 0xee echo command on the keyboard controller.
Erik van der Kouwe [Fri, 19 Nov 2010 17:37:48 +0000]
This command implements the 0xee echo command on the keyboard controller.

13 years agomore device free updates
Jack Lange [Fri, 19 Nov 2010 17:36:48 +0000]
more device free updates

13 years agoupdate page free interface to allow freeing of multiple pages (needed for linux)
Jack Lange [Fri, 19 Nov 2010 03:44:07 +0000]
update page free interface to allow freeing of multiple pages (needed for linux)

13 years agoadded some more device unregister functions
Jack Lange [Fri, 19 Nov 2010 03:31:12 +0000]
added some more device unregister functions

13 years agotimer interface updates to allow state cleanup on exit
Jack Lange [Fri, 19 Nov 2010 02:48:09 +0000]
timer interface updates to allow state cleanup on exit

13 years agoargument order fix
Jack Lange [Thu, 18 Nov 2010 19:32:18 +0000]
argument order fix

13 years agoupdated file interface
Jack Lange [Thu, 18 Nov 2010 19:18:23 +0000]
updated file interface

13 years agoparanoid check
Jack Lange [Thu, 18 Nov 2010 19:18:16 +0000]
paranoid check

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Thu, 18 Nov 2010 18:57:00 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

13 years agoupdated the socket interface
Jack Lange [Thu, 18 Nov 2010 18:56:57 +0000]
updated the socket interface

13 years agoadd raw packet interface
Lei Xia [Thu, 18 Nov 2010 17:30:48 +0000]
add raw packet interface

13 years agoRemove the Linux host bridge code in Palacios
Lei Xia [Wed, 17 Nov 2010 20:47:02 +0000]
Remove the Linux host bridge code in Palacios

13 years agoMinor fix on VNET config
Lei Xia [Wed, 17 Nov 2010 20:40:02 +0000]
Minor fix on VNET config

13 years agoMore clean on VNET codes
Lei Xia [Wed, 17 Nov 2010 20:38:27 +0000]
More clean on VNET codes

13 years agoVNET code clean and rearrangement
Lei Xia [Wed, 17 Nov 2010 18:58:10 +0000]
VNET code clean and rearrangement

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Wed, 17 Nov 2010 06:39:30 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoupdated build process to map common symbols out of the .bss
Jack Lange [Wed, 17 Nov 2010 05:58:07 +0000]
updated build process to map common symbols out of the .bss

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Mon, 15 Nov 2010 22:44:03 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoMerge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel
Jack Lange [Mon, 15 Nov 2010 20:11:04 +0000]
Merge branch 'devel' of ssh://palacios@newskysaw/home/palacios/palacios into devel

13 years agoadded error checking to svm initialization
Jack Lange [Mon, 15 Nov 2010 20:11:00 +0000]
added error checking to svm initialization

13 years agoadded console host event
Jack Lange [Mon, 15 Nov 2010 19:50:36 +0000]
added console host event

13 years agoadded vnet dependency
Jack Lange [Mon, 15 Nov 2010 19:50:18 +0000]
added vnet dependency

13 years agomoved the host_private_data assignment to earlier in the configuration phase to make...
Jack Lange [Mon, 15 Nov 2010 19:49:29 +0000]
moved the host_private_data assignment to earlier in the configuration phase to make sure its available to initialization function

13 years agofixed missing initialization in bochs console
Jack Lange [Mon, 15 Nov 2010 19:47:11 +0000]
fixed missing initialization in bochs console

13 years agoRename vmm_vnet.c to vmm_vnet_core.c
Lei Xia [Fri, 12 Nov 2010 16:18:20 +0000]
Rename vmm_vnet.c to vmm_vnet_core.c

13 years agoFixed (hopefully) bug introduced previously by moving update_timers outside of the...
Patrick G. Bridges [Thu, 11 Nov 2010 18:22:31 +0000]
Fixed (hopefully) bug introduced previously by moving update_timers outside of the interrupt clocking in enter_vm(). Also a few miscellaneous debugging config/print changes

13 years agocompilation fix
Jack Lange [Wed, 10 Nov 2010 23:49:12 +0000]
compilation fix

13 years agoadded dimension flags to console hooks
Jack Lange [Wed, 10 Nov 2010 23:33:45 +0000]
added dimension flags to console hooks

13 years agoreworked the console hooks
Jack Lange [Wed, 10 Nov 2010 22:35:46 +0000]
reworked the console hooks

13 years agomoved CONSOLE host event to SERIAL host event
Jack Lange [Wed, 10 Nov 2010 21:23:06 +0000]
moved CONSOLE host event to SERIAL host event

13 years agoMerge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
Lei Xia [Wed, 10 Nov 2010 19:07:46 +0000]
Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacios into devel

13 years agoFix to virtio vnet device
Lei Xia [Wed, 10 Nov 2010 19:07:40 +0000]
Fix to virtio vnet device