From: Jack Lange Date: Tue, 14 Jun 2011 19:03:02 +0000 (-0500) Subject: interface updates X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=f22feaaf919bc038c43036eac0cbf4f927a49b39;p=palacios.releases.git interface updates --- diff --git a/linux_module/iface-stream.c b/linux_module/iface-stream.c index c487eb4..7f03994 100644 --- a/linux_module/iface-stream.c +++ b/linux_module/iface-stream.c @@ -13,9 +13,10 @@ #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 index 0000000..10a3353 --- /dev/null +++ b/linux_module/iface-stream.h @@ -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 index 0000000..ee0e32d --- /dev/null +++ b/linux_module/ioctls.txt @@ -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 diff --git a/linux_module/palacios.h b/linux_module/palacios.h index df9aabe..56d5abf 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -10,11 +10,10 @@ /* 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