1. 26 6月, 2018 1 次提交
  2. 14 6月, 2018 1 次提交
  3. 12 6月, 2018 2 次提交
  4. 06 6月, 2018 1 次提交
  5. 05 6月, 2018 2 次提交
  6. 23 5月, 2018 6 次提交
  7. 17 5月, 2018 1 次提交
  8. 14 5月, 2018 2 次提交
  9. 11 5月, 2018 1 次提交
    • J
      util: Clean up consumers of virJSONValueArraySize · 4a3d6ed5
      John Ferlan 提交于
      Rather than have virJSONValueArraySize return a -1 when the input
      is not an array and then splat an error message, let's check for
      an array before calling and then change the return to be a size_t
      instead of ssize_t.
      
      That means using the helper virJSONValueIsArray as well as using a
      more generic error message such as "Malformed <something> array".
      In some cases we can remove stack variables and when we cannot,
      those variables should be size_t not ssize_t. Alter a few references
      of if (!value) to be if (value == 0) instead as well.
      
      Some callers can already assume an array is being worked on based
      on the previous call, so there's less to do.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      4a3d6ed5
  10. 04 5月, 2018 1 次提交
  11. 30 4月, 2018 1 次提交
  12. 18 4月, 2018 2 次提交
  13. 17 4月, 2018 7 次提交
  14. 03 4月, 2018 5 次提交
  15. 23 3月, 2018 1 次提交
  16. 06 3月, 2018 1 次提交
    • B
      qemu: log the crash information for S390 · a07a9146
      Bjoern Walk 提交于
      Since QEMU 2.12 commit id '4ada99ade' guest crash information for
      S390 is available in the QEMU monitor, e.g.:
      
        {
          "timestamp": {
              "seconds": 1518004739,
              "microseconds": 552563
          },
          "event": "GUEST_PANICKED",
          "data": {
              "action": "pause",
              "info": {
                  "core": 0,
                  "psw-addr": 1102832,
                  "reason": "disabled-wait",
                  "psw-mask": 562956395872256,
                  "type": "s390"
              }
          }
        }
      
      Let's log this information into the domain log file, e.g.:
      
          2018-02-08 13:11:26.075+0000: panic s390: core='0' psw-mask='0x0002000180000000' psw-addr='0x000000000010f146' reason='disabled-wait'
      Reviewed-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
      Signed-off-by: NBjoern Walk <bwalk@linux.vnet.ibm.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      a07a9146
  17. 19 2月, 2018 1 次提交
    • D
      qemu: stop passing virConnectPtr into qemuMonitorStartCPUs · aed679da
      Daniel P. Berrangé 提交于
      There is a long standing hack to pass a virConnectPtr into the
      qemuMonitorStartCPUs method, so that when the text monitor prompts
      for a disk password, we can lookup virSecretPtr objects. This causes
      us to have to pass a virConnectPtr around through countless methods
      up the call chain....except some places don't have any virConnectPtr
      available so have always just passed NULL. We can finally fix this
      disastrous design by using virGetConnectSecret() to open a connection
      to the secret driver at time of use.
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      aed679da
  18. 06 2月, 2018 3 次提交
  19. 01 2月, 2018 1 次提交