1. 02 3月, 2018 1 次提交
  2. 04 1月, 2018 1 次提交
  3. 08 11月, 2017 4 次提交
  4. 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
  5. 22 9月, 2017 1 次提交
  6. 14 9月, 2017 1 次提交
    • J
      qemu: Add QEMU 2.10 x86_64 the generated capabilities · 3358bfb2
      John Ferlan 提交于
      For reference, these were generated by updating a local qemu git
      repository to the latest upstream, making sure the latest dependencies
      were met via "dnf builddep qemu" from my sufficiently privileged root
      account, checking out the v2.10.0 tag, and building in order to generate
      an "x86_64-softmmu/qemu-system-x86_64" image.
      
      Then using a clean libvirt tree updated to master and built, the image
      was then provided as input:
      
          tests/qemucapsprobe /path/to/x86_64-softmmu/qemu-system-x86_64 > \
             tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies
      
      With the .replies file in place and the DO_TEST line added and build,
      then running the following commands:
      
          touch tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
          VIR_TEST_REGENERATE_OUTPUT=1 ./tests/qemucapabilitiestest
      
      to generate tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml and both
      were added to the commit.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      3358bfb2
  7. 21 7月, 2017 1 次提交
  8. 20 7月, 2017 1 次提交
  9. 18 7月, 2017 1 次提交
  10. 04 4月, 2017 1 次提交
  11. 23 3月, 2017 1 次提交
  12. 20 2月, 2017 1 次提交
  13. 06 1月, 2017 1 次提交
  14. 28 11月, 2016 1 次提交
  15. 26 11月, 2016 1 次提交
    • J
      qemu: Enable KVM when probing capabilities · 25ba9c31
      Jiri Denemark 提交于
      CPU related capabilities may differ depending on accelerator used when
      probing. Let's use KVM if available when probing QEMU and fall back to
      TCG. The created capabilities already contain all we need to distinguish
      whether KVM or TCG was used:
      
          - KVM was used when probing capabilities:
              QEMU_CAPS_KVM is set
              QEMU_CAPS_ENABLE_KVM is not set
      
          - TCG was used and QEMU supports KVM, but it failed (e.g., missing
            kernel module or wrong /dev/kvm permissions)
              QEMU_CAPS_KVM is not set
              QEMU_CAPS_ENABLE_KVM is set
      
          - KVM was not used and QEMU does not support it
              QEMU_CAPS_KVM is not set
              QEMU_CAPS_ENABLE_KVM is not set
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      25ba9c31
  16. 22 9月, 2016 1 次提交
    • J
      qemu: Store host-model CPU in qemu capabilities · 68c70118
      Jiri Denemark 提交于
      Host capabilities provide libvirt's view of the host CPU, but for a
      useful support for host-model CPUs we really need a hypervisor's view of
      the CPU. And since the view can be differ with emulator, qemu
      capabilities is the best place to store the host CPU model.
      
      This patch just copies the CPU model from host capabilities, but this
      will change in the future.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      68c70118
  17. 05 8月, 2016 2 次提交
  18. 09 6月, 2016 2 次提交
  19. 08 6月, 2016 3 次提交
  20. 25 5月, 2016 1 次提交
  21. 16 5月, 2016 1 次提交
  22. 06 5月, 2016 5 次提交
  23. 05 5月, 2016 1 次提交
    • J
      tests: Add qemucapsprobe helper · f943a28c
      Jiri Denemark 提交于
      Adding new *.replies files for qemucapabilitiestest or updating the
      files when libvirt adds an additional QMP command into the probing
      process is quite painful. The goal of the new qemucapsprobe command is
      to make this process as easy as
      
          tests/qemucapsprobe /path/to/qemu/binary >caps.replies
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      f943a28c
  24. 24 12月, 2015 1 次提交
  25. 27 11月, 2015 1 次提交
  26. 12 11月, 2015 1 次提交
  27. 22 9月, 2015 1 次提交
    • M
      tests: Avoid use of virQEMUDriverCreateXMLConf(NULL) · 086f37e9
      Michal Privoznik 提交于
      We use the function to create a virDomainXMLOption object that is
      required for some functions. However, we don't pass the driver
      pointer to the object anywhere - rather than pass NULL. This
      causes trouble later when parsing a domain XML and calling post
      parse callbacks:
      
        Program received signal SIGSEGV, Segmentation fault.
        0x000000000043fa3e in qemuDomainDefPostParse (def=0x7d36c0, caps=0x7caf10, opaque=0x0) at qemu/qemu_domain.c:1043
        1043        qemuCaps = virQEMUCapsCacheLookup(driver->qemuCapsCache, def->emulator);
        (gdb) bt
        #0  0x000000000043fa3e in qemuDomainDefPostParse (def=0x7d36c0, caps=0x7caf10, opaque=0x0) at qemu/qemu_domain.c:1043
        #1  0x00007ffff2928bf9 in virDomainDefPostParse (def=0x7d36c0, caps=0x7caf10, xmlopt=0x7c82c0) at conf/domain_conf.c:4269
        #2  0x00007ffff294de04 in virDomainDefParseXML (xml=0x7da8c0, root=0x7dab80, ctxt=0x7da980, caps=0x7caf10, xmlopt=0x7c82c0, flags=0) at conf/domain_conf.c:16400
        #3  0x00007ffff294e5b5 in virDomainDefParseNode (xml=0x7da8c0, root=0x7dab80, caps=0x7caf10, xmlopt=0x7c82c0, flags=0) at conf/domain_conf.c:16582
        #4  0x00007ffff294e424 in virDomainDefParse (xmlStr=0x0, filename=0x7c7ef0 "/home/zippy/work/libvirt/libvirt.git/tests/securityselinuxlabeldata/disks.xml", caps=0x7caf10, xmlopt=0x7c82c0, flags=0) at conf/domain_conf.c:16529
        #5  0x00007ffff294e4b2 in virDomainDefParseFile (filename=0x7c7ef0 "/home/zippy/work/libvirt/libvirt.git/tests/securityselinuxlabeldata/disks.xml", caps=0x7caf10, xmlopt=0x7c82c0, flags=0) at conf/domain_conf.c:16553
        #6  0x00000000004303ca in testSELinuxLoadDef (testname=0x53c929 "disks") at securityselinuxlabeltest.c:192
        #7  0x00000000004309e8 in testSELinuxLabeling (opaque=0x53c929) at securityselinuxlabeltest.c:313
        #8  0x0000000000431207 in virtTestRun (title=0x53c92f "Labelling \"disks\"", body=0x430964 <testSELinuxLabeling>, data=0x53c929) at testutils.c:211
        #9  0x0000000000430c5d in mymain () at securityselinuxlabeltest.c:373
        #10 0x00000000004325c2 in virtTestMain (argc=1, argv=0x7fffffffd7e8, func=0x430b4a <mymain>) at testutils.c:863
        #11 0x0000000000430deb in main (argc=1, argv=0x7fffffffd7e8) at securityselinuxlabeltest.c:381
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      086f37e9
  28. 23 9月, 2014 1 次提交
  29. 19 9月, 2014 1 次提交