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.


interface updates
Jack Lange [Tue, 14 Jun 2011 19:03:02 +0000 (14:03 -0500)]
linux_module/iface-stream.c
linux_module/iface-stream.h [new file with mode: 0644]
linux_module/ioctls.txt [new file with mode: 0644]
linux_module/palacios.h

index c487eb4..7f03994 100644 (file)
 #include "linux-exts.h"
 #include "util-ringbuffer.h"
 #include "vm.h"
+#include "iface-stream.h"
 
 #define STREAM_BUF_SIZE 1024
-#define STREAM_NAME_LEN 128
+
 
 
 
diff --git a/linux_module/iface-stream.h b/linux_module/iface-stream.h
new file mode 100644 (file)
index 0000000..10a3353
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef __IFACE_STREAM_H__
+#define __IFACE_STREAM_H__
+
+
+// Stream Connection IOCTL number
+#define V3_VM_STREAM_CONNECT 21
+
+// Buffer size of the stream name being connected to
+#define STREAM_NAME_LEN 128
+
+
+#endif 
diff --git a/linux_module/ioctls.txt b/linux_module/ioctls.txt
new file mode 100644 (file)
index 0000000..ee0e32d
--- /dev/null
@@ -0,0 +1,23 @@
+Registry of ioctl numbers currently in use
+To add a new ioctl find an available number and add it to this list.
+
+Global commands (/dev/v3vee)
+
+10 -- (VMM) Start guest
+
+50 -- (VMM) Add physical memory to VMM manager
+
+
+
+VM Commands (/dev/v3-vm*)
+
+20 -- (IFACE) Connect CGA Console
+21 -- (IFACE) Connect Stream
+22 -- (VMM) Stop Guest
+
+30 -- (EXT) Activate Inspector
+
+257 -- (IFACE) VGA Console Framebuf Input
+258 -- (IFACE) VGA Console Framebuf Query
+
+10245 -- (IFACE) Connect Host Device
\ No newline at end of file
index df9aabe..56d5abf 100644 (file)
 /* Global Control IOCTLs */
 #define V3_START_GUEST 10
 #define V3_ADD_MEMORY 50
-#define V3_START_NETWORK 60
 
 /* VM Specific IOCTLs */
 #define V3_VM_CONSOLE_CONNECT 20
-#define V3_VM_STREAM_CONNECT 21
+
 #define V3_VM_STOP 22
 
 #define V3_VM_INSPECT 30