Skip to content

Commit dc6d775

Browse files
taoyuhongdbkinder
authored andcommitted
tools: acrnd: update README.rst
Reviewed-by: Yan Like <like.yan@intel.com> Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
1 parent 0631473 commit dc6d775

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

tools/acrn-manager/README.rst

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,36 @@ Use the ``stop`` command to stop one or more running VM:
9393
9494
# acrnctl stop vm-yocto vm1-14:59:30 vm-android
9595
96+
.. _acrnd:
97+
98+
acrnd
99+
#######
100+
101+
102+
Description
103+
***********
104+
105+
The ``acrnd`` is the daemon for acrn-manager.
106+
The ``acrnd`` daemon process provides a way for launching or resuming a UOS
107+
should the UOS shut down, either planned or unexpected. A UOS can ask ``acrnd``
108+
to set up a timer to make sure the UOS is running, even if the SOS is
109+
suspended or stopped.
110+
The ``acrnd`` daemon stores pending UOS work to ``/opt/acrn/conf/timer_list``
111+
and sets an RTC timer to wake up the SOS or bring the SOS back up again.
112+
When ``acrnd`` daemon is restarted, it restores the previously saved timer
113+
list and launches the UOSs at the right time.
114+
115+
Usage
116+
*****
117+
118+
A ``systemd`` service file (``acrnd.service``) is installed by default that will
119+
start the ``acrnd`` daemon when the Service OS comes up.
120+
You can restart/stop acrnd service using ``systemctl``
121+
96122
Build and Install
97123
*****************
98124

99-
Source code for ``acrnctl`` is in the ``tools/acrn-manager`` folder.
125+
Source code for ``acrnctl`` and ``acrnd`` is in the ``tools/acrn-manager`` folder.
100126
Change to that folder and run:
101127

102128
.. code-block:: none

0 commit comments

Comments
 (0)