1. 02 10月, 2015 1 次提交
  2. 22 9月, 2015 1 次提交
  3. 16 9月, 2015 1 次提交
    • A
      qemu: Fix using guest architecture as lookup key · eb36666d
      Andrea Bolognani 提交于
      When looking for a QEMU binary suitable for running ppc64le guests
      we have to take into account the fact that we use the QEMU target
      as key for the hash, so direct comparison is not good enough.
      
      Factor out the logic from virQEMUCapsFindBinaryForArch() to a new
      virQEMUCapsFindTarget() function and use that both when looking
      for QEMU binaries available on the system and when looking up
      QEMU capabilities later.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1260753
      eb36666d
  4. 10 9月, 2015 3 次提交
  5. 10 8月, 2015 3 次提交
    • L
      qemu: add capabilities bit for device xio3130-downstream · ad1748a1
      Laine Stump 提交于
      The downstream ports of an x3130-upstream switch can each have one of
      these plugged into them (and that is the only place they can be
      connected). Each xio3130-downstream provides a single PCIe port that
      can have PCI or PCIe devices hotplugged into it. Apparently an entire
      set of x3130-upstream + several xio3130-downstreams can be hotplugged
      as a unit, but it's not clear to me yet how that would be done, since
      qemu only allows attaching a single device at a time.
      
      This device will be used to implement the
      "pcie-switch-downstream-port" model of pci controller.
      ad1748a1
    • L
      qemu: add capabilities bit for device x3130-upstream · 4cde7588
      Laine Stump 提交于
      This is the upstream part of a PCIe switch. It connects to a PCIe port
      (but not PCI) on the upstream side, and can have up to 31
      xio3130-downstream controllers (but no other types of devices)
      connected to its downstream side.
      
      This device will be used to implement the "pcie-switch-upstream-port"
      model of pci controller.
      4cde7588
    • L
      qemu: add capabilities bit for device ioh3420 · 408b100a
      Laine Stump 提交于
      This is a PCIE "root port". It connects only to a port of the
      integrated pcie.0 bus of a Q35 machine (can't be hotplugged), and
      provides a single PCIe port that can have PCI or PCIe devices
      hotplugged into it.
      
      This device will be used to implement the "pcie-root-port" model of
      pci controller.
      408b100a
  6. 06 8月, 2015 2 次提交
  7. 04 8月, 2015 1 次提交
  8. 24 7月, 2015 1 次提交
  9. 20 7月, 2015 1 次提交
  10. 14 7月, 2015 2 次提交
    • J
      nodeinfo: Add sysfs_prefix to nodeCapsInitNUMA · b97b3048
      John Ferlan 提交于
      Add the sysfs_prefix argument to the call to allow for setting the
      path for tests to something other than SYSFS_CPU_PATH which is a
      derivative of SYSFS_SYSTEM_PATH
      
      Use cpupath for nodeCapsInitNUMAFake and remove SYSFS_CPU_PATH
      b97b3048
    • J
      nodeinfo: Add sysfs_prefix to nodeGetInfo · 29e4f224
      John Ferlan 提交于
      Add the sysfs_prefix argument to the call to allow for setting the
      path for tests to something other than SYSFS_SYSTEM_PATH.
      29e4f224
  11. 10 7月, 2015 1 次提交
  12. 30 6月, 2015 1 次提交
  13. 22 6月, 2015 3 次提交
  14. 18 6月, 2015 1 次提交
    • J
      qemu: Report all supported machine types in capabilities · beca509e
      Jiri Denemark 提交于
      Some machine types are only reported as canonical names for other
      machine types, which make it a bit harder to find what machine types are
      supported by a specific QEMU binary. Ideally, one would just use
      /capabilities/guest/arch[@name='...']/machine/text() XPath to get a list
      of all supported machine types, but it doesn't work right now.
      
      For example, we report
      
          <machine canonical='pc-i440fx-2.3' maxCpus='255'>pc</machine>
      
      in guest capabilities, but the corresponding
      
          <machine maxCpus='255'>pc-i440fx-2.3</machine>
      
      is missing.
      
      This is a result of QMP probing. With "-machine ?" parsing QEMU sends
      us two lines:
      
      pc                   Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.3)
      pc-i440fx-2.3        Standard PC (i440FX + PIIX, 1996) (default)
      
      while query-machines QMP command reports both in the same entry:
      
      {"name": "pc-i440fx-2.3", "is-default": true, "cpu-max": 255, "alias": "pc"}
      
      Let's make sure we always report separate <machine/> for both the
      canonical name and its alias and using the canonical name as the default
      machine type (i.e., inserting it before its alias) in case is-default is
      true.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1229666Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      beca509e
  15. 15 6月, 2015 1 次提交
  16. 12 6月, 2015 1 次提交
  17. 11 6月, 2015 1 次提交
  18. 09 6月, 2015 3 次提交
  19. 26 5月, 2015 2 次提交
    • J
      qemu: Add libvirt version check to refresh capabilities algorithm · a14eff38
      John Ferlan 提交于
      Rather than an algorithm based solely on libvirtd ctime to refresh the
      capabilities add the element of the libvirt build version into the equation.
      Since that version wouldn't be there prior to this code being run - don't
      fail on reading the capabilities if not found. In this case, the cache
      will always be rebuilt when a new libvirt version is installed.
      a14eff38
    • J
      qemu: Force capabilities cache refresh if libvirtd date is different · 0b4211f9
      John Ferlan 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1195882
      
      Original commit id 'cbde3589' indicates that the cache file would be
      discarded if either the QEMU binary or libvirtd 'ctime' changes; however,
      the code only discarded if the QEMU binary time didn't match or if the
      new libvirtd ctime was later than what created the cache file.
      
      Since many factors come into play with 'ctime' adjustments (including
      perhaps turning back the hands of time), change the logic to also force
      a refresh if the ctime of libvirt is different than what's in the cache.
      0b4211f9
  20. 21 5月, 2015 1 次提交
  21. 18 5月, 2015 1 次提交
  22. 06 5月, 2015 1 次提交
    • J
      qemu: Resolve Coverity FORWARD_NULL · 3e4ce359
      John Ferlan 提交于
      Coverity complains over the [n]values pairing in virQEMUCapsFreeStringList
      and rather than make a bunch if "if values" checks prior to calling, by
      just adding the values check inside the free function we avoid the chance
      that somehow nvalues is > 0, while values == NULL
      3e4ce359
  23. 04 5月, 2015 2 次提交
  24. 24 4月, 2015 1 次提交
  25. 21 4月, 2015 4 次提交