Mingqiang Chi
7345677bbb
hv:cleanup vmid related code
...
Remove structure vm_attr
Wrap two APIs alloc_vm_id and free_vm_id
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com >
Acked-by: Eddie Dong <eddie.dong@intel.com >
2018-08-06 12:27:53 +08:00
Yonghua Huang
cd3a62f89b
HV: Refine invalid parameter handling in hypervisor shell
...
- print error message for command parameter error
when callback/handler is called.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com >
Acked-by: Eddie Dong <eddie.dong@intel.com >
2018-08-02 14:34:30 +08:00
Yonghua Huang
22005c6bf6
HV: Refine hypervisor shell commands
...
- removed shell commands:
--vcpu_pause
--vcpu_resume
--lsreq
--(warm) reboot
--vcpu_dumpmem
- updated shell commands:
--vm_console -> sos_console
--trigger crash -> reboot
--merge 'set_loglevel' & 'get_loglevel' to 'loglevel'
- new adding shell commands:
--dumpmem --> dump host physical memory
- other update
update the type of return value of 'shell_input_line()'
from 'uint8_t' to 'bool' and update related source code.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com >
Acked-by: Eddie Dong <eddie.dong@intel.com >
2018-08-02 11:21:16 +08:00
Huihuang Shi
1664e0c842
HV:fix rest integer violations
...
Fix integer related violations.
V1->V2:
clean all memset/calloc integer violations excpet bsp/boot directory
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com >
Reviewed-by: Junjie Mao <junjie.mao@intel.com >
Acked-by: Eddie Dong <eddie.dong@intel.com >
2018-08-02 09:51:58 +08:00
Yonghua Huang
9c24c5c85d
HV:Remame 'shell_internal.c' to 'shell.c'
...
Rename it as 'shell_public.c' has been deleted.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com >
Acked-by: Eddie Dong <eddie.dong@intel.com >
2018-08-01 12:49:27 +08:00