1. 16 10月, 2017 1 次提交
  2. 12 10月, 2017 1 次提交
  3. 05 10月, 2017 1 次提交
  4. 27 9月, 2017 1 次提交
  5. 20 9月, 2017 1 次提交
  6. 14 9月, 2017 1 次提交
  7. 26 8月, 2017 1 次提交
  8. 27 7月, 2017 1 次提交
  9. 11 7月, 2017 1 次提交
  10. 14 6月, 2017 1 次提交
  11. 30 5月, 2017 1 次提交
    • E
      qemu: json: Fix daemon crash on handling domain shutdown event · f9b69c82
      Erik Skultety 提交于
      commit a8eba503 added further checking of the guest shutdown cause, but
      this enhancement is available since qemu 2.10, causing a crash because
      of a NULL pointer dereference on older qemus.
      
      Thread 1 "libvirtd" received signal SIGSEGV, Segmentation fault.
      0x00007ffff72441af in virJSONValueObjectGet (object=0x0,
                                                   key=0x7fffd5ef11bf "guest")
          at util/virjson.c:769
      769	    if (object->type != VIR_JSON_TYPE_OBJECT)
      (gdb) bt
      0  in virJSONValueObjectGet
      1  in virJSONValueObjectGetBoolean
      2  in qemuMonitorJSONHandleShutdown
      3  in qemuMonitorJSONIOProcessEvent
      4  in qemuMonitorJSONIOProcessLine
      5  in qemuMonitorJSONIOProcess
      6  in qemuMonitorIOProcess
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      f9b69c82
  12. 26 5月, 2017 1 次提交
  13. 27 4月, 2017 1 次提交
    • J
      qemu: Ignore missing query-migrate-parameters · ac58c036
      Jiri Denemark 提交于
      Migration with old QEMU which does not support query-migrate-parameters
      would fail because the QMP command is called unconditionally since the
      introduction of TLS migration. Previously it was only called if the user
      explicitly requested a feature which uses QEMU migration parameters. And
      even then the situation was not ideal, instead of reporting an
      unsupported feature we'd just complain about missing QMP command.
      
      Trivially no migration parameters are supported when
      query-migrate-parameters QMP command is missing. There's no need to
      report an error if it is missing, the callers will report better error
      if needed.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1441934Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      ac58c036
  14. 24 4月, 2017 1 次提交
  15. 30 3月, 2017 1 次提交
  16. 27 3月, 2017 6 次提交
  17. 25 3月, 2017 1 次提交
    • J
      qemu: Add TLS params to _qemuMonitorMigrationParams · 3d06cb96
      John Ferlan 提交于
      Add the fields to support setting tls-creds and tls-hostname during
      a migration (either source or target). Modify the query migration
      function to check for the presence and set the field for future
      consumers to determine which of 3 conditions is being met (NULL,
      present and set to "", or present and sent to something). These
      correspond to qemu commit id '4af245dc3' which added support to
      default the value to "" and allow setting (or resetting) to ""
      in order to disable. This reset option allows libvirt to properly
      use the tls-creds and tls-hostname parameters.
      
      Modify code paths that either allocate or use stack space in order
      to call qemuMigrationParamsClear or qemuMigrationParamsFree for cleanup.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      3d06cb96
  18. 17 3月, 2017 2 次提交
  19. 04 3月, 2017 3 次提交
  20. 24 2月, 2017 3 次提交
  21. 22 2月, 2017 1 次提交
  22. 15 2月, 2017 1 次提交
  23. 30 1月, 2017 1 次提交
  24. 18 1月, 2017 1 次提交
  25. 13 1月, 2017 1 次提交
  26. 12 1月, 2017 2 次提交
  27. 06 1月, 2017 1 次提交
  28. 06 12月, 2016 2 次提交
    • J
      qemu: Add support for parsing iotune group setting · c53bd25b
      John Ferlan 提交于
      Add support to read/parse the iotune group setting for qemu.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      c53bd25b
    • J
      qemu: Alter qemuMonitorJSONSetBlockIoThrottle command logic · ad9f1273
      John Ferlan 提交于
      Currently we build the JSON object for the "block_set_io_throttle"
      command using the knowledge that a NULL for a support*Options boolean
      would essentially ignore the rest of the arguments.
      
      This may not work properly if some capability was backported, plus it just
      looks rather ugly. So instead, build the "base" arguments and then if
      the support*Option bool capability is set, add in the arguments on the fly.
      
      Then append those arguments to the basic command and send to qemu.
      ad9f1273