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. 03 2月, 2018 1 次提交
  3. 22 1月, 2018 2 次提交
  4. 06 1月, 2018 1 次提交
  5. 04 1月, 2018 1 次提交
  6. 11 12月, 2017 1 次提交
  7. 08 12月, 2017 1 次提交
  8. 30 11月, 2017 3 次提交
  9. 28 11月, 2017 2 次提交
  10. 25 11月, 2017 1 次提交
    • J
      qemu: Get capabilities to use iscsi password-secret argument · 4f44b8b5
      John Ferlan 提交于
      Detect the capability via the query-qmp-schema for blockdev-add
      to find the 'password-secret' parameter that will allow the iSCSI
      code to use the master secret object to encrypt the secret for an
      and only need to provide the object id of the secret on the command
      line thus obsfuscating the passphrase.
      4f44b8b5
  11. 24 11月, 2017 2 次提交
  12. 23 11月, 2017 1 次提交
  13. 20 11月, 2017 4 次提交
  14. 18 11月, 2017 4 次提交
  15. 14 11月, 2017 1 次提交
  16. 27 10月, 2017 1 次提交
    • M
      qemu: Fix memory leak in virQEMUCapsLoadCPUModels · a50b45a2
      Marc Hartmayer 提交于
      Don't leak @blockNodes in the loop.
      
      ==226576== 7,120 bytes in 60 blocks are definitely lost in loss record 122 of 125
      ==226576==    at 0x4835214: calloc (vg_replace_malloc.c:711)
      ==226576==    by 0x4950D7B: virAllocN (viralloc.c:191)
      ==226576==    by 0x49EB5BB: virXPathNodeSet (virxml.c:676)
      ==226576==    by 0x104DB67: virQEMUCapsLoadCPUModels (qemu_capabilities.c:3738)
      ==226576==    by 0x105510D: virQEMUCapsLoadCache (qemu_capabilities.c:3929)
      ==226576==    by 0x104459F: qemuTestParseCapabilities (testutilsqemu.c:498)
      ==226576==    by 0x1040DC9: testQemuCapsCopy (qemucapabilitiestest.c:105)
      ==226576==    by 0x1041F07: virTestRun (testutils.c:180)
      ==226576==    by 0x1040B45: mymain (qemucapabilitiestest.c:181)
      ==226576==    by 0x104320F: virTestMain (testutils.c:1119)
      ==226576==    by 0x1041149: main (qemucapabilitiestest.c:193)
      Signed-off-by: NMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
      Reviewed-by: NBjoern Walk <bwalk@linux.vnet.ibm.com>
      Reviewed-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      a50b45a2
  17. 18 10月, 2017 1 次提交
  18. 16 10月, 2017 6 次提交
  19. 04 10月, 2017 1 次提交
  20. 22 9月, 2017 1 次提交
  21. 20 9月, 2017 1 次提交
    • J
      qemu: Detect support for vxhs · fa6159dd
      John Ferlan 提交于
      Using the query-qmp-schema introspection - look for the 'vxhs'
      blockdevOptions type.
      
      NB: This is a "best effort" type situation as there is not a
          mechanism to determine whether the running QEMU has been
          built with '--enable-vxhs'. All we can do is check if the
          option to use vxhs for a blockdev-add exists in the command
          infrastructure which does not take that into account when
          building its table of commands and options.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      fa6159dd
  22. 18 9月, 2017 2 次提交
  23. 14 9月, 2017 1 次提交