X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=c0e3ba200f4d8a3f71057f1ceb1bdf78b8e517a9;hb=eb5b8b5277d406f5be925e33b350554d6677d645;hp=806e1e7785735732e722cf219f4b000848ee2157;hpb=4801e692b7344051eb94fff6faf1be53f621d422;p=palacios-OLD.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index 806e1e7..c0e3ba2 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -6,15 +6,18 @@ #include #include +#ifdef V3_CONFIG_CONSOLE #include "palacios-console.h" +#endif /* 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_SERIAL_CONNECT 21 +#define V3_VM_STREAM_CONNECT 21 #define V3_VM_STOP 22 struct v3_guest_img { @@ -28,6 +31,14 @@ struct v3_mem_region { unsigned long long num_pages; }; +struct v3_network { + unsigned char socket; + unsigned char packet; + unsigned char vnet; +}; + +void * trace_malloc(size_t size, gfp_t flags); +void trace_free(const void * objp); struct v3_guest { @@ -42,7 +53,9 @@ struct v3_guest { struct list_head streams; struct list_head sockets; +#ifdef V3_CONFIG_CONSOLE struct palacios_console console; +#endif struct completion start_done; struct completion thread_done;