1. 18 11月, 2009 10 次提交
  2. 17 11月, 2009 26 次提交
  3. 16 11月, 2009 2 次提交
  4. 15 11月, 2009 2 次提交
    • B
      PPC64: Partial fix to Linux crash: revert to old devfn · 60398748
      Blue Swirl 提交于
      Before 2e29bd04, Uni-North host and AGP
      bridge were using the same devfn, 11 << 3. The net effect was that only
      AGP bridge was visible. This was changed in the commit to 13 << 3 for AGP.
      
      Some of the later crashes happened due to NULL pointer dereferences generated
      by 07b7d053 and insufficient return value
      checks.
      
      Disable host device and revert AGP to 11 << 3.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      60398748
    • B
      PCI: make duplicate devfn allocation fatal · c364c974
      Blue Swirl 提交于
      Only two callers of pci_create_simple/pci_register_device bothered
      to check the return value. Other cases were prone to crashing with
      spurious NULL pointer dereferences.
      
      Make QEMU exit with an error message when devfn is attempted to
      be duplicated, also applies to case when the bus is full. Remove
      checks.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c364c974