1. 31 7月, 2010 3 次提交
  2. 27 7月, 2010 6 次提交
  3. 26 7月, 2010 3 次提交
  4. 25 7月, 2010 1 次提交
  5. 24 7月, 2010 1 次提交
  6. 22 7月, 2010 3 次提交
    • J
      scsi: Dequeue requests before invoking completion callback · e8637c90
      Jan Kiszka 提交于
      The request completion callback of the LSI controller may start the next
      request that can use the same tag as the completed one. As the latter is
      still enqueued at that point, scsi_send_command will complain about the
      tag reuse and cancel the completed request. That will cause a double
      free later on when the completion path cleans up as well.
      
      Fix this by dequeuing the request before invoking the callback.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      e8637c90
    • I
      e1000: Fix wrong microwire EEPROM state initialization · 9651ac55
      Izumi Tsutsui 提交于
      This change fixes initialization of e1000's microwire EEPROM internal
      state values so that qemu's e1000 emulation works on NetBSD,
      which doesn't use Intel's em driver but has its own wm driver
      for the Intel i8254x Gigabit Ethernet.
      
      Previously set_eecd() function in e1000.c clears EEPROM internal state
      values on SK rising edge during CS==L, but according to FM93C06 EEPROM
      (which is MicroWire compatible) data sheet, EEPROM internal status
      should be cleared on CS rise edge regardless of SK input:
       "... a rising edge on this (CS) signal is required to reset the internal
        state-machine to accept a new cycle .."
      and nothing should be changed during CS (chip select) is inactive.
      
      Intel's em driver seems to explicitly raise SK output after CS is negated
      in em_standby_eeprom() so many other OSes that use Intel's driver
      don't have this problem even on the previous e1000.c implementation,
      but I can't find any articles that say the MICROWIRE or EEPROM spec
      requires such sequence, and actually hardware works fine without it
      (i.e. real i82540EM has been working on NetBSD).
      
      This fix also changes initialization to clear each state value in
      struct eecd_state individually rather than using memset() against
      the whole structre. The old_eecd member stores the last SK and CS
      signal levels and it should be preserved even after reset of internal
      EEPROM state to detect next signal edges for proper EEPROM emulation.
      Signed-off-by: NIzumi Tsutsui <tsutsui@ceres.dti.ne.jp>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      9651ac55
    • A
      virtio-serial: Fix compat property name · 1e29a009
      Amit Shah 提交于
      Starting with qemu -M pc-0.12 -device virtio-serial
      
      results in
      
      -device virtio-serial: Property 'virtio-serial-pci.max_nr_ports' not found
      
      The property name 'max_ports' is incorrectly named 'max_nr_ports'. Fix
      that.
      
      Also fix the ppc440 machine type bamboo-0.12 which has this typo.
      Reported-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      1e29a009
  7. 21 7月, 2010 1 次提交
  8. 19 7月, 2010 3 次提交
  9. 14 7月, 2010 1 次提交
  10. 13 7月, 2010 8 次提交
  11. 12 7月, 2010 10 次提交