1. 30 1月, 2018 1 次提交
    • J
      qemu: Fix memory leak in processGuestPanicEvent · 6b7c5c47
      John Ferlan 提交于
      After processing the processEvent->data for a qemuProcessEventHandler
      callout, it's expected that the called processEvent->eventType helper
      will perform the proper free on the data field. In this case it's
      a qemuMonitorEventPanicInfoPtr.
      6b7c5c47
  2. 09 1月, 2018 1 次提交
  3. 05 1月, 2018 1 次提交
  4. 04 1月, 2018 1 次提交
  5. 11 12月, 2017 1 次提交
  6. 06 12月, 2017 2 次提交
  7. 01 12月, 2017 1 次提交
    • M
      qemuStateInitialize: Don't leak @memoryBackingPath · 3eb84090
      Michal Privoznik 提交于
      ==899== 39 bytes in 1 blocks are definitely lost in loss record 732 of 1,003
      ==899==    at 0x4C2AEDF: malloc (vg_replace_malloc.c:299)
      ==899==    by 0x8B68CE7: vasprintf (in /lib64/libc-2.25.so)
      ==899==    by 0x55498D2: virVasprintfInternal (virstring.c:708)
      ==899==    by 0x55499E7: virAsprintfInternal (virstring.c:729)
      ==899==    by 0x2BECFFF0: qemuGetMemoryBackingBasePath (qemu_conf.c:1757)
      ==899==    by 0x2BF23225: qemuStateInitialize (qemu_driver.c:893)
      ==899==    by 0x563073D: virStateInitialize (libvirt.c:770)
      ==899==    by 0x124CC4: daemonRunStateInit (libvirtd.c:834)
      ==899==    by 0x55521CD: virThreadHelper (virthread.c:206)
      ==899==    by 0x88D9686: start_thread (in /lib64/libpthread-2.25.so)
      ==899==    by 0x8BEAEFE: clone (in /lib64/libc-2.25.so)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3eb84090
  8. 24 11月, 2017 3 次提交
  9. 23 11月, 2017 1 次提交
    • P
      qemu: domain: Don't call namespace setup for storage already accessed by vm · 3746a38e
      Peter Krempa 提交于
      When doing block commit we need to allow write for members of the
      backing chain so that we can commit the data into them.
      
      qemuDomainDiskChainElementPrepare was used for this which since commit
      786d8d91 calls qemuDomainNamespaceSetupDisk which has very adverse
      side-effects, namely it relabels the nodes to the same label it has in
      the main namespace. This was messing up permissions for the commit
      operation since its touching various parts of a single backing chain.
      
      Since we are are actually not introducing new images at that point add a
      flag for qemuDomainDiskChainElementPrepare which will refrain from
      calling to the namespace setup function.
      
      Calls from qemuDomainSnapshotCreateSingleDiskActive and
      qemuDomainBlockCopyCommon do introduce new members all calls from
      qemuDomainBlockCommit do not, so the calls are anotated accordingly.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1506072
      3746a38e
  10. 16 11月, 2017 1 次提交
  11. 09 11月, 2017 1 次提交
  12. 08 11月, 2017 1 次提交
  13. 07 11月, 2017 2 次提交
  14. 03 11月, 2017 2 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
    • P
      qemu: domain: Simplify using DAC permissions of top of backing chain · 2b757b96
      Peter Krempa 提交于
      qemuDomainGetImageIds and qemuDomainStorageFileInit are helpful when
      trying to access a virStorageSource from the qemu driver since they
      figure out the correct uid and gid for the image.
      
      When accessing members of a backing chain the permissions for the top
      level would be used. To allow using specific permissions per backing
      chain level but still allow inheritance from the parent of the chain we
      need to add a new parameter to the image ID APIs.
      2b757b96
  15. 27 10月, 2017 1 次提交
  16. 24 10月, 2017 1 次提交
  17. 23 10月, 2017 1 次提交
  18. 20 10月, 2017 1 次提交
  19. 19 10月, 2017 7 次提交
  20. 17 10月, 2017 4 次提交
  21. 16 10月, 2017 1 次提交
  22. 14 10月, 2017 3 次提交
  23. 05 10月, 2017 2 次提交