New APIs: Add systemd journal support (RHBZ#988100).

This adds simple support for reading the journal files from guests
that use the systemd journal.

The new APIs are:

  journal-open
  journal-close
  journal-next
  journal-skip
  journal-get
  journal-get-data-threshold
  journal-set-data-threshold
  internal-journal-get

More complex journal support (eg. for seeking within the journal,
support for cursors) could be added later.
This commit is contained in:
Richard W.M. Jones
2013-07-27 15:28:50 +01:00
parent b502197ec4
commit 5cb7f294f6
10 changed files with 515 additions and 1 deletions

2
README
View File

@@ -139,6 +139,8 @@ The full requirements are described below.
| libldm | | O | Library (libldm) and 'ldmtool' for |
| | | | handling Windows Dynamic Disks. |
+--------------+-------------+---+-----------------------------------------+
| sd-journal | | O | systemd journal library |
+--------------+-------------+---+-----------------------------------------+
| yajl | 2 | O | JSON parser for parsing output of |
| | | | ldmtool and qemu-img info commands. |
+--------------+-------------+---+-----------------------------------------+