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.


Palacios GUI Added
[palacios.git] / linux_usr / gui / palacios / defs.h
1 /*
2  * defs.h
3  *
4  *  Created on: Oct 4, 2012
5  *      Author: Abhinav Kannan
6  */
7
8 #ifndef DEFS_H_
9 #define DEFS_H_
10
11 const char* STATUS_BAR_MSG_READY = "Ready";
12
13 const char* TITLE_MAIN_WINDOW = "Palacios";
14 const char* TITLE_DOCK_TELEMETRY = "Kernel messages";
15 const char* TITLE_DOCK_VM_LIST = "List of VMs";
16
17 const char* MENU_FILE = "File";
18 const char* MENU_VIEW = "View";
19 const char* MENU_VM = "VM";
20 const char* MENU_HELP = "Help";
21
22 const char* FILE_MENU_NEW_VM = "New VM";
23 const char* NEW_VM_STATUS_TIP = "Create a new virtual machine";
24 const char* FILE_MENU_EXIT = "Exit";
25 const char* EXIT_STATUS_TIP = "Exit Palacios VMM";
26
27 const char* VM_MENU_START = "Start VM";
28 const char* VM_MENU_STOP = "Stop VM";
29 const char* VM_MENU_PAUSE = "Pause VM";
30 const char* VM_MENU_RESTART = "Restart VM";
31 const char* VM_MENU_REMOVE = "Delete VM";
32 const char* VM_MENU_ACTIVATE = "Activate VM";
33 const char* VM_MENU_RELOAD = "Reload VMs";
34
35 const char* VM_STOP_WARNING_MESSAGE = "You are about to stop a running virtual machine. Please stop all executing processes"
36                 "within the virtual machine to insure safe termination of VM. Do you want to continue?";
37 const char* VM_DELETE_WARNING_MESSAGE = "Are you sure you want to delete this VM?";
38 const char* DELETE_RUNNING_VM_ERROR = "This VM is currently running! Please stop the VM before deleting";
39
40 const char* HELP_MENU_ABOUT = "About Palacios";
41 const char* ABOUT_PALACIOS =
42                 "Palacios is a virtual machine monitor (VMM) "
43                                 "that is available for public use as a community resource. Palacios is highly configurable "
44                                 "and designed to be embeddable into different host operating systems, such as Linux and the "
45                                 "Kitten lightweight kernel. Palacios is a non-paravirtualized VMM that makes extensive use of "
46                                 "the virtualization extensions in modern Intel and AMD x86 processors. "
47                                 "Palacios is a compact codebase that has been designed to be easy to understand and readily "
48                                 "configurable for different environments. It is unique in being designed to be embeddable into "
49                                 "other OSes instead of being implemented in the context of a specific OS. Palacios is distributed under the BSD license."
50
51                                 "\nPalacios is part of the V3VEE Project";
52
53 const char* XTERM_CMD = "/usr/bin/xterm";
54
55 const char* FILE_VM_LIST = "virtual_machines_list.txt";
56
57 const char* TAG_VM = "vm";
58
59 const char* ERROR_TELEMETRY = "Telemetry information currently unavailable";
60
61 const char* LABEL_ACTIVE_INVENTORY = "Active Inventory";
62 const char* LABEL_ACTIVE_NOT_INVENTORY = "Not in inventory";
63 const char* LABEL_INACTIVE_INVENTORY = "Inactive Inventory";
64
65 const char* ERROR_SETUP_MODULE_INSTALL = "Kernel Module not installed";
66 const char* ERROR_SETUP_MODULE_INSTALL_FAILED = "Kernel module not installed correctly";
67 const char* ERROR_SETUP_MEMORY = "Memory not intialized";
68
69 const char* ERROR_APP_CLOSE = "There are running VMs in the current session. Stop or pause the VMs before exiting";
70 const char* ERROR_VM_RUNNING = "VM is already running";
71 const char* ERROR_UPDATE_VM_STATE = "Error could not update VM state";
72 const char* ERROR_RUN_ACTIVE_NOT_INVENTORY = "VM instance exists on the system but has not been added to the inventory. Activate VM to proceed";
73 const char* ERROR_RUN_INACTIVE_INVENTORY = "VM instance has not been activated";
74 const char* ERROR_NO_DEVFILE_FOR_LAUNCH = "Could not find /dev/v3-vm# file to launch VM";
75 const char* ERROR_STOP_VM = "VM is not running";
76 const char* ERROR_VM_NOT_INVENTORY = "Cannot stop VM. VM is either inactive or not available in inventory";
77 const char* ERROR_LAUNCH_VM_DEVICE_NOT_FOUND = "Error launching VM! Device file not found";
78 const char* ERROR_LAUNCH_VM_IOCTL = "VM Launch: IOCTL error! Check kernel logs for details";
79 const char* ERROR_STOP_VM_PATH = "Error executing stop command. Check path variable";
80 const char* ERROR_STOP_VM_IOCTL = "VM Stop: IOCTL error! Check kernel logs for details";
81 const char* ERROR_STOP_VM_DEVICE_NOT_FOUND = "Could not stop VM! Device file not found";
82 const char* ERROR_PAUSE_VM_IOCTL = "VM Pause: IOCTL error! Check kernel logs for details";
83 const char* ERROR_PAUSE_VM_DEVICE_NOT_FOUND = "Error pausing VM! Could not open device file";
84 const char* ERROR_RESTART_VM_IOCTL = "VM Restart: IOCTL error! Check kernel logs for details";
85 const char* ERROR_RESTART_VM_DEVICE_NOT_FOUND = "Error restarting VM! Device file not found.";
86
87 const char* ERROR_VM_CREATE_PATH = "VM creation failed: Check PATH variable";
88 const char* ERROR_VM_CREATE_IOCTL = "VM creation failed: Check kernel logs for more details";
89 const char* ERROR_VM_CREATE_DB = "VM creation failed: Could not save VM. Error in database";
90 const char* ERROR_VM_CREATE_PROC = "VM creation failed: Unable to get dev file";
91 const char* ERROR_VM_CREATE_FAILED = "VM creation failed: Could not create dev file for new VM. Check kernel logs for more details";
92 const char* SUCCESS_VM_ADDED = "VM added to inventory. Activate to use";
93 const char* SUCCESS_VM_CREATE = "VM created successfully!";
94
95 const char* VM_TAB_TITLE = "VM Details";
96
97 const char* ERROR_VM_LAUNCH = "VM Launch failed: Check kernel logs for details";
98
99 const char* ERROR_VM_DELETE_PATH = "VM Deletion failed: Check PATH variable";
100 const char* ERROR_VM_DELETE_IOCTL = "VM Deletion failed: Check kernel logs for more details";
101 const char* ERROR_VM_DELETE_DB = "VM Deletion failed: Database error";
102 const char* ERROR_VM_DELETE_INVALID_ARGUMENT = "VM Deletion failed: Could not find dev file!";
103 const char* SUCCESS_VM_DELETE = "VM deleted successfully";
104 #endif /* DEFS_H_ */