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.


Add swapping and pinning capability to Palacios
authorDaniel Zuo, Nikhat Karimi, Ahalya Srinivasan, Peter Dinda <pengzuo2014@u.northwestern.edu>
Sat, 21 Jun 2014 02:08:54 +0000 (21:08 -0500)
committerroot <root@v-test-r415-3.localdomain>
Sun, 22 Jun 2014 23:02:35 +0000 (18:02 -0500)
commit5ef0e92d52b2698fd2706cd7cfc2b01526a6e319
treeaa2edaadf7a7db8c0f63bcf20d47df9c8da837e3
parente3102a252f2e92de3275bdcf2af96beb85c693e4
Add swapping and pinning capability to Palacios

This commit adds allows swapping of VMs at the granularity of
base regions.  Since base regions down to the page granularity are
possible, this swapper can swap down to page granularity as well.

The functionality can be selected at compile time, and the use of
swapping is determined at run time with a new "swapping" block, like
this:

  <mem ... >N_MB</mem>             Size of memory in the GPA

  <swapping enable="y">
     <allocated>M_MB</allocated>   Allocated space (M_MB <= N_MB)
     <file>FILENAME</file>         Where to swap to
     <strategy>STRATEGY</strategy> Victim picker to use NEXT_FIT, RANDOM (default), LRU, DEFAULT
  </swapping>

Pinning is also supported
12 files changed:
Kconfig
palacios/include/interfaces/vmm_file.h
palacios/include/palacios/vm_guest.h
palacios/include/palacios/vmm_mem.h
palacios/include/palacios/vmm_swapping.h [new file with mode: 0644]
palacios/src/palacios/Makefile
palacios/src/palacios/vm_guest.c
palacios/src/palacios/vmm.c
palacios/src/palacios/vmm_config.c
palacios/src/palacios/vmm_mem.c
palacios/src/palacios/vmm_swapping.c [new file with mode: 0644]
v3_config_guest.pl