mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
tools: acrn-manager: fix several warnings
This commit eliminates several compiler warnings via: - added 'const' quilifier to the 1st argument of send_msg(); - added 'const' quilifier to vm ops functions. Signed-off-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
@@ -51,11 +51,11 @@ extern LIST_HEAD(vmmngr_list_struct, vmmngr_struct) vmmngr_head;
|
||||
|
||||
/* vm life cycle ops */
|
||||
int list_vm(void);
|
||||
int stop_vm(char *vmname);
|
||||
int start_vm(char *vmname);
|
||||
int pause_vm(char *vmname);
|
||||
int continue_vm(char *vmname);
|
||||
int suspend_vm(char *vmname);
|
||||
int resume_vm(char *vmname, unsigned reason);
|
||||
int stop_vm(const char *vmname);
|
||||
int start_vm(const char *vmname);
|
||||
int pause_vm(const char *vmname);
|
||||
int continue_vm(const char *vmname);
|
||||
int suspend_vm(const char *vmname);
|
||||
int resume_vm(const char *vmname, unsigned reason);
|
||||
|
||||
#endif /* _ACRNCTL_H_ */
|
||||
|
||||
Reference in New Issue
Block a user