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

Maros Zatko mzatko at redhat.com
Mon Aug 31 13:07:35 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 (RHBZ#988100)

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

-- 
1.9.3




More information about the Libguestfs mailing list