1. 19 12月, 2012 2 次提交
  2. 17 12月, 2012 1 次提交
  3. 29 10月, 2012 1 次提交
  4. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  5. 08 10月, 2012 1 次提交
  6. 05 10月, 2012 1 次提交
  7. 01 8月, 2012 2 次提交
  8. 23 7月, 2012 1 次提交
  9. 04 7月, 2012 1 次提交
  10. 28 6月, 2012 1 次提交
  11. 08 6月, 2012 1 次提交
    • M
      change iov_* function prototypes to be more appropriate · dcf6f5e1
      Michael Tokarev 提交于
      Reorder arguments to be more natural, readable and
      consistent with other iov_* functions, and change
      argument names, from:
       iov_from_buf(iov, iov_cnt, buf, iov_off, size)
      to
       iov_from_buf(iov, iov_cnt, offset, buf, bytes)
      
      The result becomes natural English:
      
       copy data to this `iov' vector with `iov_cnt'
       elements starting at byte offset `offset'
       from memory buffer `buf', processing `bytes'
       bytes max.
      
      (Try to read the original prototype this way).
      
      Also change iov_clear() to more general iov_memset()
      (it uses memset() internally anyway).
      
      While at it, add comments to the header file
      describing what the routines actually does.
      
      The patch only renames argumens in the header, but
      keeps old names in the implementation.  The next
      patch will touch actual code to match.
      
      Now, it might look wrong to pay so much attention
      to so small things.  But we've so many badly designed
      interfaces already so the whole thing becomes rather
      confusing or error prone.  One example of this is
      previous commit and small discussion which emerged
      from it, with an outcome that the utility functions
      like these aren't well-understdandable, leading to
      strange usage cases.  That's why I paid quite some
      attention to this set of functions and a few
      others in subsequent patches.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      dcf6f5e1
  12. 07 6月, 2012 1 次提交
    • F
      rtl8139: honor RxOverflow flag in can_receive method · fee9d348
      Fernando Luis Vazquez Cao 提交于
      Some drivers (Linux' 8139too among them) rely on the NIC
      injecting an interrupt in the event of a receive buffer overflow
      and, accordingly, set the RxOverflow bit in the interrupt
      mask. Unfortunately rtl8139's can_receive method ignores the
      RxOverflow flag, which may lead to a situation where rtl8139
      stops receiving packets (can_receive returns 0) when the receive
      buffer becomes full.
      
      If the driver eventually read from the receive buffer or reset
      the card the emulator could recover from this situation. However
      some implementations only do this upon receiving an interrupt
      with either RxOK or RxOverflow set in the ISR; interrupt that
      will never come because QEMU's flow control mechanisms would
      prevent rtl8139 from receiving any packet.
      
      Letting packets go through when the overflow interrupt is enabled
      makes the QEMU emulator compliant to the spec and solves the
      problem.
      
      This patch should fix a relatively common (in our experience)
      network stall observed when running enterprise distros with
      rtl8139 as the NIC; in some cases the 8139too device driver gets
      loaded and when under heavy load the network eventually stops
      working.
      Reported-by: NHayato Kakuta <kakuta.hayato@oss.ntt.co.jp>
      Tested-by: NHayato Kakuta <kakuta.hayato@oss.ntt.co.jp>
      Acked-by: NIgor Kovalenko <igor.v.kovalenko@gmail.com>
      Signed-off-by: NFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      fee9d348
  13. 05 6月, 2012 1 次提交
  14. 04 6月, 2012 1 次提交
  15. 08 5月, 2012 1 次提交
  16. 12 4月, 2012 1 次提交
  17. 16 3月, 2012 6 次提交
  18. 15 2月, 2012 1 次提交
  19. 04 2月, 2012 1 次提交
    • A
      qdev: register all types natively through QEMU Object Model · 39bffca2
      Anthony Liguori 提交于
      This was done in a mostly automated fashion.  I did it in three steps and then
      rebased it into a single step which avoids repeatedly touching every file in
      the tree.
      
      The first step was a sed-based addition of the parent type to the subclass
      registration functions.
      
      The second step was another sed-based removal of subclass registration functions
      while also adding virtual functions from the base class into a class_init
      function as appropriate.
      
      Finally, a python script was used to convert the DeviceInfo structures and
      qdev_register_subclass functions to TypeInfo structures, class_init functions,
      and type_register_static calls.
      
      We are almost fully converted to QOM after this commit.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      39bffca2
  20. 28 1月, 2012 3 次提交
  21. 14 12月, 2011 1 次提交
    • S
      hw: Fix spelling in comments · 26404edc
      Stefan Weil 提交于
      adress->address
      advertisment->advertisement
      begining->beginning
      bondary->boundary
      controler->controller
      controll->control
      convertion->conversion
      doesnt->doesn't
      existant->existent
      instuction->instruction
      loosing->losing
      managment->management
      multipled->multiplied
      negotation->negotiation
      runing->running
      teh->the
      unchangable->unchangeable
      writen->written
      yeild->yield
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
      26404edc
  22. 13 12月, 2011 1 次提交
  23. 23 11月, 2011 1 次提交
  24. 02 11月, 2011 1 次提交
  25. 20 9月, 2011 1 次提交
  26. 21 8月, 2011 1 次提交
  27. 08 8月, 2011 2 次提交
  28. 12 6月, 2011 1 次提交
  29. 06 5月, 2011 1 次提交
  30. 27 4月, 2011 1 次提交