[Libguestfs] [PATCH v4 0/2] RFE: journal reader in guestfish

Maros Zatko mzatko at redhat.com
Thu Aug 27 13:18:23 UTC 2015


There seems to be a minor issue when user wants to run it through pager (more)
and wants cancel it. User will end up with stuck guestfish until journal-view
transfers all journal items.

Output is configurable, it's the same format as virt-log has, since both
uses same code.

Maros Zatko (2):
  cat: move get_journal_field to fish/journal.c
  fish: add journal-view command

 cat/Makefile.am       |   1 +
 cat/log.c             | 113 ++-------------------------------------
 fish/Makefile.am      |   1 +
 fish/fish.h           |   3 ++
 fish/journal.c        | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++
 generator/Makefile.am |   6 ++-
 generator/actions.ml  |  22 ++++++++
 generator/main.ml     |   3 ++
 8 files changed, 179 insertions(+), 112 deletions(-)
 create mode 100644 fish/journal.c

-- 
1.9.3




More information about the Libguestfs mailing list