1. 23 4月, 2018 2 次提交
  2. 17 4月, 2018 6 次提交
  3. 16 4月, 2018 5 次提交
  4. 12 4月, 2018 2 次提交
  5. 07 4月, 2018 1 次提交
  6. 06 4月, 2018 2 次提交
  7. 24 3月, 2018 3 次提交
  8. 22 3月, 2018 1 次提交
  9. 13 3月, 2018 8 次提交
  10. 09 3月, 2018 1 次提交
  11. 13 2月, 2018 2 次提交
  12. 03 2月, 2018 1 次提交
    • J
      qemu: Complete PCI command checks to controller def validate · 7de841cc
      John Ferlan 提交于
      Move the qemuCaps checks over to qemuDomainControllerDefValidatePCI.
      
      This requires two test updates in order to set the correct capability
      bit for an xml2xml test as well as setting up the similar capability
      for the pseries memlocktest.
      7de841cc
  13. 21 1月, 2018 1 次提交
    • L
      qemu: assign correct type of PCI address for vhost-scsi when using pcie-root · 18c24bc6
      Laine Stump 提交于
      Commit 10c73bf1 fixed a bug that I had introduced back in commit
      70249927 - if a vhost-scsi device had no manually assigned PCI
      address, one wouldn't be assigned automatically. There was a slight
      problem with the logic of the fix though - in the case of domains with
      pcie-root (e.g. those with a q35 machinetype),
      qemuDomainDeviceCalculatePCIConnectFlags() will attempt to determine
      if the host-side PCI device is Express or legacy by examining sysfs
      based on the host-side PCI address stored in
      hostdev->source.subsys.u.pci.addr, but that part of the union is only
      valid for PCI hostdevs, *not* for SCSI hostdevs. So we end up trying
      to read sysfs for some probably-non-existent device, which fails, and
      the function virPCIDeviceIsPCIExpress() returns failure (-1).
      
      By coincidence, the return value is being examined as a boolean, and
      since -1 is true, we still end up assigning the vhost-scsi device to
      an Express slot, but that is just by chance (and could fail in the
      case that the gibberish in the "hostside PCI address" was the address
      of a real device that happened to be legacy PCI).
      
      Since (according to Paolo Bonzini) vhost-scsi devices appear just like
      virtio-scsi devices in the guest, they should follow the same rules as
      virtio devices when deciding whether they should be placed in an
      Express or a legacy slot. That's accomplished in this patch by
      returning early with virtioFlags, rather than erroneously using
      hostdev->source.subsys.u.pci.addr. It also adds a test case for PCIe
      to assure it doesn't get broken in the future.
      18c24bc6
  14. 05 12月, 2017 2 次提交
  15. 28 11月, 2017 3 次提交