X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=linux_usr%2Fv3_ctrl.h;h=082682570b25277adb3b7fbdf8107e5c7359738f;hp=550ab9ac2b9615a8b6bf091a0b2f21ffba33c62f;hb=793f9cd53a472668dbeb16341085e5512484485c;hpb=639d38dc437f87b9eab6648074f7b3eb8800e5d7 diff --git a/linux_usr/v3_ctrl.h b/linux_usr/v3_ctrl.h index 550ab9a..0826825 100644 --- a/linux_usr/v3_ctrl.h +++ b/linux_usr/v3_ctrl.h @@ -8,8 +8,19 @@ #define V3_START_GUEST 10 #define V3_STOP_GUEST 11 +#define V3_CREATE_GUEST 12 +#define V3_FREE_GUEST 13 + + +#define V3_VM_PAUSE 23 +#define V3_VM_CONTINUE 24 + +#define V3_VM_LAUNCH 25 +#define V3_VM_STOP 26 +#define V3_VM_LOAD 27 +#define V3_VM_SAVE 28 + #define V3_ADD_MEMORY 50 -#define V3_START_NETWORK 60 #define V3_VM_CONSOLE_CONNECT 20 #define V3_VM_SERIAL_CONNECT 21 @@ -22,12 +33,24 @@ struct v3_guest_img { unsigned long long size; void * guest_data; char name[128]; -}; +} __attribute__((packed)); struct v3_mem_region { unsigned long long base_addr; unsigned long long num_pages; -}; +} __attribute__((packed)); + + +struct v3_core_move_cmd{ + unsigned short vcore_id; + unsigned short pcore_id; +} __attribute__((packed)); + + +struct v3_chkpt_info { + char store[128]; + char url[256]; /* This might need to be bigger... */ +} __attribute__((packed)); #endif