1. 23 8月, 2019 3 次提交
  2. 20 6月, 2019 1 次提交
  3. 06 5月, 2019 1 次提交
  4. 17 4月, 2019 1 次提交
  5. 10 4月, 2019 2 次提交
    • A
      tests: Fix MinGW build for domaincapstest · 947ea866
      Andrea Bolognani 提交于
      Commit 5b9819ee started using the virFileWrapper APIs in
      the test program, and correctly called them only in the section
      of code guarded by WITH_QEMU; however, a single call to the
      virFileWrapperClearPrefixes() function ended up in the
      hypervisor-agnostic section, causing a build failure on MinGW.
      
      Move the call to the QEMU-only section; while at it, also drop
      the virFileWrapperRemovePrefix() calls, which are entirely
      redundant since we'd drop all prefixes immediately afterwards
      anyway.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Acked-by: NMichal Privoznik <mprivozn@redhat.com>
      947ea866
    • M
      domain capabilities: Expose firmware auto selection feature · 5b9819ee
      Michal Privoznik 提交于
      If a management application wants to use firmware auto selection
      feature it can't currently know if the libvirtd it's talking to
      support is or not. Moreover, it doesn't know which values that
      are accepted for the @firmware attribute of <os/> when parsing
      will allow successful start of the domain later, i.e. if the mgmt
      application wants to use 'bios' whether there exists a FW
      descriptor in the system that describes bios.
      
      This commit then adds 'firmware' enum to <os/> element in
      <domainCapabilities/> XML like this:
      
        <enum name='firmware'>
          <value>bios</value>
          <value>efi</value>
        </enum>
      
      We can see both 'bios' and 'efi' listed which means that there
      are descriptors for both found in the system (matched with the
      machine type and architecture reported in the domain capabilities
      earlier and not shown here).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Acked-by: NLaszlo Ersek <lersek@redhat.com>
      5b9819ee
  6. 08 4月, 2019 1 次提交
  7. 19 3月, 2019 1 次提交
  8. 18 3月, 2019 3 次提交
  9. 05 3月, 2019 2 次提交
  10. 12 2月, 2019 1 次提交
  11. 18 12月, 2018 1 次提交
  12. 14 12月, 2018 1 次提交
    • D
      Remove all Author(s): lines from source file headers · 60046283
      Daniel P. Berrangé 提交于
      In many files there are header comments that contain an Author:
      statement, supposedly reflecting who originally wrote the code.
      In a large collaborative project like libvirt, any non-trivial
      file will have been modified by a large number of different
      contributors. IOW, the Author: comments are quickly out of date,
      omitting people who have made significant contribitions.
      
      In some places Author: lines have been added despite the person
      merely being responsible for creating the file by moving existing
      code out of another file. IOW, the Author: lines give an incorrect
      record of authorship.
      
      With this all in mind, the comments are useless as a means to identify
      who to talk to about code in a particular file. Contributors will always
      be better off using 'git log' and 'git blame' if they need to  find the
      author of a particular bit of code.
      
      This commit thus deletes all Author: comments from the source and adds
      a rule to prevent them reappearing.
      
      The Copyright headers are similarly misleading and inaccurate, however,
      we cannot delete these as they have legal meaning, despite being largely
      inaccurate. In addition only the copyright holder is permitted to change
      their respective copyright statement.
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      60046283
  13. 21 9月, 2018 1 次提交
  14. 20 9月, 2018 1 次提交
  15. 28 8月, 2018 1 次提交
  16. 24 3月, 2018 3 次提交
  17. 12 12月, 2017 1 次提交
    • M
      fillQemuCaps: Don't leak machine string · fb8c0ea8
      Michal Privoznik 提交于
      ==25251== 5 bytes in 1 blocks are definitely lost in loss record 7 of 81
      ==25251==    at 0x4C2BEDF: malloc (vg_replace_malloc.c:299)
      ==25251==    by 0x967E379: strdup (in /lib64/libc-2.25.so)
      ==25251==    by 0x5366F9F: virStrdup (virstring.c:941)
      ==25251==    by 0x538BF1D: virDomainCapsNew (domain_capabilities.c:121)
      ==25251==    by 0x10EACE: test_virDomainCapsFormat (domaincapstest.c:295)
      ==25251==    by 0x10FBD2: virTestRun (testutils.c:180)
      ==25251==    by 0x10F192: mymain (domaincapstest.c:457)
      ==25251==    by 0x111C7F: virTestMain (testutils.c:1119)
      ==25251==    by 0x10FA3C: main (domaincapstest.c:528)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      fb8c0ea8
  18. 08 11月, 2017 1 次提交
  19. 03 11月, 2017 1 次提交
    • 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
  20. 16 10月, 2017 1 次提交
  21. 26 7月, 2017 1 次提交
  22. 22 7月, 2017 1 次提交
    • D
      qemu: Add AAVMF32 to the list of known UEFIs · 123880d3
      dann frazier 提交于
      Add a path for UEFI VMs for AArch32 VMs, based on the path Debian is using.
      libvirt is the de facto canonical location for defining where distros
      should place these firmware images, so let's define this path here to try
      and minimize distro fragmentation.
      123880d3
  23. 18 4月, 2017 1 次提交
  24. 11 4月, 2017 1 次提交
  25. 04 4月, 2017 1 次提交
  26. 26 3月, 2017 1 次提交
    • R
      domaincapstest: add bhyve caps test · 74cfb5bb
      Roman Bogorodskiy 提交于
       * Extract filling bhyve capabilities from virBhyveDomainCapsBuild()
         into a new function virBhyveDomainCapsFill() to make testing
         easier by not having to mock firmware directory listing and
         hypervisor capabilities probing
       * Also, just presence of the firmware files is not sufficient
         to enable os.loader.supported, hypervisor should support UEFI
         boot too
       * Add tests to domaincapstest for the main caps possible flows:
          - when UEFI bootrom is supported
          - when video (fbus) is supported
          - neither of above is supported
      74cfb5bb
  27. 17 3月, 2017 1 次提交
  28. 14 3月, 2017 1 次提交
    • J
      qemu: Report better host-model CPUs in domain caps · e958fb5b
      Jiri Denemark 提交于
      One of the main reasons for introducing host-model CPU definition in a
      domain capabilities XML was the inability to express disabled features
      in a host capabilities XML. That is, when a host CPU is, e.g., Haswell
      without x2apic support, host capabilities XML will have to report it as
      Westmere + a bunch of additional features., but we really want to use
      Haswell - x2apic when creating a host-model CPU.
      
      Unfortunately, I somehow forgot to do the last step and the code would
      just copy the CPU definition found in the host capabilities XML. This
      changed recently for new QEMU versions which allow us to query host CPU,
      but any slightly older QEMU will not benefit from any change I did. This
      patch makes sure the right CPU model is filled in the domain
      capabilities even with old QEMU.
      
      The issue was reported in
      https://bugzilla.redhat.com/show_bug.cgi?id=1426456Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      e958fb5b
  29. 04 3月, 2017 1 次提交
  30. 06 1月, 2017 1 次提交
  31. 28 11月, 2016 1 次提交
  32. 26 11月, 2016 1 次提交