1. 09 1月, 2016 2 次提交
  2. 09 12月, 2015 1 次提交
  3. 26 11月, 2015 2 次提交
    • D
      qemu: convert monitor to use qemuDomainLogContextPtr indirectly · a48539c0
      Daniel P. Berrange 提交于
      Currently the QEMU monitor is given an FD to the logfile. This
      won't work in the future with virtlogd, so it needs to use the
      qemuDomainLogContextPtr instead, but it shouldn't directly
      access that object either. So define a callback that the
      monitor can use for reporting errors from the log file.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      a48539c0
    • D
      qemu: unify code for reporting errors from QEMU log files · 69b09921
      Daniel P. Berrange 提交于
      There are two pretty similar functions qemuProcessReadLog and
      qemuProcessReadChildErrors. Both read from the QEMU log file
      and try to strip out libvirt messages. The latter then reports
      an error, while the former lets the callers report an error.
      
      Re-write qemuProcessReadLog so that it uses a single read
      into a dynamically allocated buffer. Then introduce a new
      qemuProcessReportLogError that calls qemuProcessReadLog
      and reports an error.
      
      Convert all callers to use qemuProcessReportLogError.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      69b09921
  4. 24 11月, 2015 1 次提交
  5. 19 11月, 2015 2 次提交
  6. 26 9月, 2015 1 次提交
  7. 10 8月, 2015 1 次提交
  8. 10 7月, 2015 4 次提交
  9. 26 6月, 2015 1 次提交
  10. 19 6月, 2015 3 次提交
  11. 15 6月, 2015 1 次提交
  12. 05 6月, 2015 5 次提交
  13. 03 6月, 2015 2 次提交
  14. 28 4月, 2015 3 次提交
  15. 16 4月, 2015 1 次提交
    • P
      qemu: monitor: Refactor and fix monitor checking · c4410852
      Peter Krempa 提交于
      Among all the monitor APIs some where checking if mon is NULL and some
      were not. Since it's possible to have mon equal to NULL in case a second
      call is attempted once entered the monitor. This requires that every
      single API checks for the monitor.
      
      This patch adds a macro that helps checking the state of the monitor and
      either refactors existing checking code to use the macro or adds it in
      case it was missing.
      c4410852
  16. 15 4月, 2015 6 次提交
  17. 14 4月, 2015 3 次提交
  18. 09 4月, 2015 1 次提交