acrn-hypervisor/tools
yuhong.tao@intel.com c4f9a2fd70 tools: rework on vm ops
There are some problems to use VM operations in a deamon process,
such as Acrnd.  the list_vm() does not return VM informations, it
just print VM information to stdio, so we have get_vm_list()
to get VM list head vmngr_head; get_vm_list() always creates a
new fresh vm list every time, and must use put_vm_list() to delete
old list. So Acrnd need to create and destroy vm list frequently.
In fact we just need the vmngr_head to be an extern variable. And
to make it refreshable.We can insert new VMs, remove dead ones,
and update their state.

Reviewed-by: Yan Like <like.yan@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
2018-07-16 16:04:34 +08:00
..
acrn-crashlog tools:acrn-crashlog: Detect and classify the crash in ACRN and kernel 2018-07-12 17:29:51 +08:00
acrn-manager tools: rework on vm ops 2018-07-16 16:04:34 +08:00
acrnbridge acrn-bridge: improve systemd network units 2018-07-09 11:49:30 +08:00
acrnlog tools: acrnlog: Deprecate binary "rm" and "mkdir" with GPLv3+ 2018-07-10 12:51:59 +08:00
acrntrace tools: acrntrace: Fix wrong event id in vmexit_analyze.py 2018-07-11 09:24:44 +08:00
Makefile add acrnbridge-install to Makefile install target 2018-06-20 11:27:24 +08:00