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.


repurpose v3_ctrl.c as a utility library for palacios userspace progs
authorKyle Hale <kh@u.northwestern.edu>
Sat, 28 Jul 2012 20:46:05 +0000 (15:46 -0500)
committerPeter Dinda <pdinda@northwestern.edu>
Fri, 3 Aug 2012 18:28:07 +0000 (13:28 -0500)
commit008fdde9a6a6ec65b7647d9eec487448094d7f18
tree2db6f582534049f0bacfa82675f460078cac821c
parent30ef014b1f6ced35bedc8fe76dd7933a286e3fd4
repurpose v3_ctrl.c as a utility library for palacios userspace progs

I've taken some common idioms used in a lot of the userspace utilities
and put them in a (for now, static) library that all programs can utilize.
One example: when running an ioctl, it's no longer necessary to open the vm device,
close it, etc. This is taken care of by v3_vm_ioctl.
This should give us some more code sharing and make the userspace utilities quicker to write and a bit smaller.
For now, I've modified v3_free, v3_launch, v3_stop, and v3_create to use this library,
so you can look to those for examples.
linux_usr/Makefile
linux_usr/v3_create.c
linux_usr/v3_ctrl.c
linux_usr/v3_ctrl.h
linux_usr/v3_free.c
linux_usr/v3_launch.c
linux_usr/v3_stop.c