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 userspace shared library for QEMU use
Kyle Hale [Tue, 26 Aug 2014 18:10:23 +0000 (13:10 -0500)]
This is more or less a wrapper around v3_user_host_dev but
is intended to encompass anything that is QEMU-specific.

linux_usr/Makefile

index e57a444..f10734c 100644 (file)
@@ -68,7 +68,7 @@ COPIED_EXECS = v3_x0vncserver v3_x0gui
 #
 # Libraries that we need to build
 #
-LIBS = libv3_user_host_dev.a libv3_user_keyed_stream.a libv3_ctrl.a libv3_guest_mem.a libv3_fb.a libv3_user_dvfs.a
+LIBS = libv3_user_host_dev.a libv3_user_keyed_stream.a libv3_ctrl.a libv3_guest_mem.a libv3_fb.a libv3_user_dvfs.a libv3_io_chan.so
 
 BUILD_EXECS = $(BASE_EXECS) $(EXAMPLE_EXECS) $(EXPERIMENTAL_EXECS) 
 BUILD_LIBS = $(LIBS)
@@ -93,6 +93,12 @@ libv3_ctrl.a : v3_ctrl.c v3_ctrl.h
        $(AR) ruv libv3_ctrl.a v3_ctrl.o
        rm -rf v3_ctrl.o 
 
+libv3_io_chan.so: v3_io_chan.c v3_io_chan.h v3_user_host_dev.c v3_user_host_dev.h ../linux_module/iface-host-dev.h 
+       $(CC) $(CFLAGS) -I../linux_module -fPIC -c v3_io_chan.c
+       $(CC) $(CFLAGS) -I../linux_module -fPIC -c v3_user_host_dev.c
+       $(CC) -shared -o $@ v3_io_chan.o v3_user_host_dev.o
+       cp $@ /usr/lib64/
+       cp v3_io_chan.h /usr/include/
 #
 # JSON library for use in some tools
 #