1. 15 5月, 2019 1 次提交
    • J
      qemu: Don't cache microcode version · cb6bcb03
      Jiri Denemark 提交于
      My earlier commit be46f613 was incomplete. It removed caching of
      microcode version in the CPU driver, which means the capabilities XML
      will see the correct microcode version. But it is also cached in the
      QEMU capabilities cache where it is used to detect whether we need to
      reprobe QEMU. By missing the second place, the original commit
      be46f613 made the situation even worse since libvirt would report
      correct microcode version while still using the old host CPU model
      (visible in domain capabilities XML).
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      (cherry picked from commit 673c62a3)
      
      CVE-2018-12126, CVE-2018-12127, CVE-2018-12130
      
      Conflicts:
      	src/qemu/qemu_capabilities.c
                  - virQEMUCapsCacheLookupByArch refactoring (commits
                    7948ad41 and 1a3de670) are missing
                  - commit a7424faf "Force QMP capability probing" is
                    missing downstream
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      cb6bcb03
  2. 26 2月, 2018 1 次提交
  3. 23 2月, 2018 1 次提交
  4. 22 2月, 2018 3 次提交
  5. 19 2月, 2018 8 次提交
  6. 12 2月, 2018 1 次提交
  7. 09 2月, 2018 3 次提交
  8. 07 2月, 2018 3 次提交
  9. 06 2月, 2018 7 次提交
  10. 05 2月, 2018 1 次提交
  11. 03 2月, 2018 1 次提交
  12. 01 2月, 2018 1 次提交
  13. 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
  14. 09 1月, 2018 1 次提交
  15. 05 1月, 2018 1 次提交
  16. 04 1月, 2018 1 次提交
  17. 11 12月, 2017 1 次提交
  18. 06 12月, 2017 2 次提交
  19. 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
  20. 24 11月, 2017 1 次提交