X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=49330281d7d905881f6ea02133a75f8ab6afc459;hb=9aee4d463c4401f25142ba43ddbb720e4e129340;hp=6bb7271172eb1664efbfab826e7917aad813c2c6;hpb=ad00932be31579b80f80c1cc67677bd3c263fd89;p=palacios.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index 6bb7271..4933028 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -15,7 +15,7 @@ /* VM Specific IOCTLs */ #define V3_VM_CONSOLE_CONNECT 20 - +#define V3_VM_STREAM_CONNECT 21 #define V3_VM_PAUSE 23 #define V3_VM_CONTINUE 24 @@ -27,15 +27,16 @@ #define V3_VM_SIMULATE 29 #define V3_VM_INSPECT 30 +#define V3_VM_DEBUG 31 #define V3_VM_MOVE_CORE 33 -#define V3_VM_FB_INPUT (256+1) -#define V3_VM_FB_QUERY (256+2) +#define V3_VM_FB_INPUT 257 +#define V3_VM_FB_QUERY 258 -#define V3_VM_HOST_DEV_CONNECT (10244+1) +#define V3_VM_HOST_DEV_CONNECT 10245 -#define V3_VM_KSTREAM_USER_CONNECT (11244+1) +#define V3_VM_KSTREAM_USER_CONNECT 11245 // KERN_EMERG "<0>" /* system is unusable */ // KERN_ALERT "<1>" /* action must be taken immediately */ @@ -69,7 +70,12 @@ struct v3_mem_region { unsigned long long num_pages; } __attribute__((packed)); -struct v3_core_move_cmd{ +struct v3_debug_cmd { + unsigned int core; + unsigned int cmd; +} __attribute__((packed)); + +struct v3_core_move_cmd { unsigned short vcore_id; unsigned short pcore_id; } __attribute__((packed)); @@ -81,6 +87,7 @@ struct v3_chkpt_info { + void * trace_malloc(size_t size, gfp_t flags); void trace_free(const void * objp);