1. 19 6月, 2019 13 次提交
  2. 17 6月, 2019 3 次提交
  3. 04 6月, 2019 4 次提交
  4. 03 6月, 2019 2 次提交
  5. 23 5月, 2019 1 次提交
  6. 17 5月, 2019 4 次提交
  7. 14 5月, 2019 1 次提交
  8. 13 5月, 2019 1 次提交
  9. 10 5月, 2019 2 次提交
  10. 06 5月, 2019 1 次提交
  11. 05 5月, 2019 2 次提交
  12. 30 4月, 2019 1 次提交
  13. 25 4月, 2019 3 次提交
    • P
      util: hash: Append to hash buckets when adding new entries · 4b99ba98
      Peter Krempa 提交于
      In cases when the hash function for a name collides with other entry
      already in the hash we prepend to the bucket. This creates a 'stack
      effect' on the buckets if we then iterate through the hash. Normally
      this is not a problem, but in tests we want deterministic results.
      
      Since it does not matter where we add the entry and it's usually more
      probable that a different entry will be accessed next change it to
      append to the end of the bucket. Luckily we already iterate throught the
      bucket once thus we can easily find the last entry and just connect the
      new entry after it.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      4b99ba98
    • P
      vircgroup: no need to ifdef virCgroupFree · 9470815d
      Pavel Hrdina 提交于
      virCgroup struct is always defined and the free function is not calling
      anything that would require OS supporting cgroups.
      
      This fixes an issue if we try to start a VM with QEMU binary that
      doesn't support QXL.  The start operation will fail in
      qemuProcessStartValidateVideo() which will set correct error message,
      but later in one of the cleanup paths we will call
      qemuDomainObjPrivateDataClear() which always calls virCgroupFree()
      and that will fail on OS that doesn't support cgroups and it will
      set a new error which will be eventually reported to user.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      9470815d
    • A
      Handle copying bitmaps to larger data buffers · 51f9f80d
      Allen, John 提交于
      If a bitmap of a shorter length than the data buffer is passed to
      virBitmapToDataBuf, it will read off the end of the bitmap and copy junk
      into the returned buffer. Add a check to only copy the length of the
      bitmap to the buffer.
      
      The problem can be observed after setting a vcpu affinity using the vcpupin
      command on a system with a large number of cores:
        # virsh vcpupin example_domain 0 0
        # virsh vcpupin example_domain 0
           VCPU   CPU Affinity
          ---------------------------
           0      0,192,197-198,202
      Signed-off-by: NJohn Allen <john.allen@amd.com>
      51f9f80d
  14. 17 4月, 2019 1 次提交
  15. 16 4月, 2019 1 次提交