[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

First patch moves get_journal_field around and renames it to journal_view
and the next one reimplements it a bit and brings it to guestfish.

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

 .gnulib                    |   2 +-
 cat/Makefile.am            |   1 +
 cat/log.c                  | 114 +---------------------------------
 fish/Makefile.am           |   1 +
 fish/journal.c             | 151 +++++++++++++++++++++++++++++++++++++++++++++
 fish/journal.h             |  26 ++++++++
 generator/Makefile.am      |   6 +-
 generator/actions.ml       |  36 +++++++++++
 generator/journalfields.ml |  87 ++++++++++++++++++++++++++
 generator/main.ml          |   3 +
 po/POTFILES                |   1 +
 src/guestfs-internal.h     |   5 ++
 src/proto.c                |  14 +++++
 13 files changed, 333 insertions(+), 114 deletions(-)
 create mode 100644 fish/journal.c
 create mode 100644 fish/journal.h
 create mode 100644 generator/journalfields.ml

-- 
1.9.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]