1. 08 6月, 2016 3 次提交
    • P
      qemu: domain: Implement helper for one-shot log entries to the VM log file · 91a6eacc
      Peter Krempa 提交于
      Along with the virtlogd addition of the log file appending API implement
      a helper for logging one-shot entries to the log file including the
      fallback approach of using direct file access.
      
      This will be used for noting the shutdown of the qemu proces and
      possibly other actions such as VM migration and other critical VM
      lifecycle events.
      91a6eacc
    • P
      log: daemon: Add remote protocol handling for the log appending API · 78b9b85c
      Peter Krempa 提交于
      Implement the RPC dispatcher and caller for the new API.
      78b9b85c
    • P
      log: handler: Add new API to append to logging files · 5e6143fb
      Peter Krempa 提交于
      For logging one-shot entries to the VM log file it's quite a waste to
      hold open the file descriptor for logging that is provided by the
      current API.
      
      This new API will be ideal for logging one-shot entries to the file
      e.g. at the point when we shut the VM down rather than having to add the
      whole file-descriptor infrastructure.
      
      Additionally this will allow to add the messages even after restart of
      libvirtd since virtlogd doesn't allow to obtain a regular context with
      filedescriptors while the VM is still active.
      5e6143fb
  2. 07 6月, 2016 37 次提交