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.


warning fix
[palacios.git] / linux_module / palacios-stream.c
index 702475c..340d27f 100644 (file)
@@ -7,12 +7,12 @@
 #include <linux/percpu.h>
 #include <linux/sched.h>
 
-#include <palacios/vmm_stream.h>
+#include <interfaces/vmm_stream.h>
 #include "palacios-stream.h"
 
 static struct list_head global_streams;
 
-int stream_enqueue(struct stream_buffer * stream, char * buf, int len) {
+static int stream_enqueue(struct stream_buffer * stream, char * buf, int len) {
     int bytes = 0;
 
     bytes = ringbuf_write(stream->buf, buf, len);
@@ -34,6 +34,12 @@ int stream_datalen(struct stream_buffer * stream){
 }
 
 
+int open_stream(const char * name) {
+    return -1;
+}
+
+
+
 struct stream_buffer * find_stream_by_name(struct v3_guest * guest, const char * name) {
     struct stream_buffer * stream = NULL;
     struct list_head * stream_list = NULL;