Skip to content

Introduce Advanced Watch Dog module

Zhang Chen qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 10 repliesIn review
  2. v34 patches 3 repliesSuperseded
  3. v24 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC4 patches8 repliesSuperseded

Changes in v4 from the cover letter

- Add more introduction in qemu-options.hx
- Addressed Paolo's comments add docs/awd.txt for the AWD module detail.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net/awd.c: Introduce Advanced Watch Dog module frameworkconfigure net/Makefile.objs net/awd.c +1 more+291 -00 replies
2/5net/awd.c: Initailize input/output chardevnet/awd.c+37 -00 replies
3/5net/awd.c: Load advanced watch dog worker thread jobnet/awd.c+193 -00 replies
4/5vl.c: Make Advanced Watch Dog delayed initializationvl.c+7 -00 replies
5/5docs/awd.txt: Add doc to introduce Advanced WatchDog(AWD) moduledocs/awd.txt+88 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH V4 0/5] Introduce Advanced Watch Dog module

From: Zhang Chen <[email protected]>

Advanced Watch Dog is an universal monitoring module on VMM side, it can be used to detect network down(VMM to guest, VMM to VMM, VMM to another remote server) and do previously set operation. Current AWD patch just accept any input as the signal to refresh the watchdog timer, and we can also make a certain interactive protocol here. For the outputs, user can pre-write some command or some messages in the AWD opt-script. We noticed that there is no way for VMM communicate directly, maybe some people think we don't need such things(up layer software like openstack can handle it). so we engaged with real customer found that they need a lightweight and efficient mechanism to solve some practical problems,

For example Edge Computing cases(they think high level software is too heavy to use in Edge or it is hard to manage and combine with VM instance). It make user have basic VM/Host network monitoring tools and basic false tolerance and recovery solution..

Please see the detail documentation in the last patch.

V4:
- Add more introduction in qemu-options.hx
- Addressed Paolo's comments add docs/awd.txt for the AWD module detail.

V3:
- Rebased on Qemu 4.2.0-rc1 code.
- Fix commit message issue.

V2:
- Addressed Philippe comments add configure selector for AWD.

Initial:
- Initial version.

Zhang Chen (5):
net/awd.c: Introduce Advanced Watch Dog module framework net/awd.c: Initailize input/output chardev
net/awd.c: Load advanced watch dog worker thread job vl.c: Make Advanced Watch Dog delayed initialization docs/awd.txt: Add doc to introduce Advanced WatchDog(AWD) module

 configure         |   9 +
 docs/awd.txt      |  88 +++++++++
 net/Makefile.objs |   1 +
 net/awd.c         | 491 ++++++++++++++++++++++++++++++++++++++++++++++
 qemu-options.hx   |  20 ++
 vl.c              |   7 +
 6 files changed, 616 insertions(+)
 create mode 100644 docs/awd.txt
 create mode 100644 net/awd.c
Signature · 1 line
2.17.1