1. 01 7月, 2010 2 次提交
  2. 04 5月, 2010 1 次提交
  3. 26 4月, 2010 1 次提交
  4. 20 3月, 2010 1 次提交
  5. 17 3月, 2010 1 次提交
  6. 16 3月, 2010 1 次提交
  7. 07 2月, 2010 2 次提交
  8. 06 2月, 2010 1 次提交
  9. 27 1月, 2010 1 次提交
  10. 20 1月, 2010 1 次提交
    • K
      Fix QEMU_WARN_UNUSED_RESULT · beb6f0de
      Kevin Wolf 提交于
      Since commit 747bbdf7 QEMU_WARN_UNUSED_RESULT is never defined as it is
      conditional on a define from config-host.h which is included only later.
      Include that file earlier to get the warnings back.
      
      Reactivating it unfortunately leads to some warnings about unused qdev_init
      results. These calls are changed to qdev_init_nofail to avoid build failures.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      beb6f0de
  11. 19 12月, 2009 1 次提交
  12. 12 12月, 2009 3 次提交
  13. 04 12月, 2009 1 次提交
    • M
      Fix recently introduced bugs in -usbdevice host · 0745eb1e
      Markus Armbruster 提交于
      Commit 26a9e82a has the following flaws:
      
      * It enabled DEBUG.
      
      * It referenced two properties by the wrong name in
        usb_host_device_open(), which crashes with "qdev_prop_set: property
        "USB Host Device.bus" not found".
      
      * It broke "-usbdevice host:auto:..." by calling parse_filter()
        incorrectly.
      
      * It broke parsing of "-usbdevice host:BUS.ADDR" and "-usbdevice
        host:VID:PRID" with a trivial pasto.
      
      * It broke wildcards in "-usbdevice host:auto:...".  Before, the four
        filter components were stored as int, and the wildcard was encoded
        as -1.  The faulty commit changed storage to uint32_t, and the
        wildcard encoding to 0.  But it failed to update parse_filter()
        accordingly.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0745eb1e
  14. 30 10月, 2009 1 次提交
  15. 28 10月, 2009 1 次提交
  16. 07 10月, 2009 2 次提交
  17. 25 9月, 2009 1 次提交
  18. 12 9月, 2009 1 次提交
  19. 11 9月, 2009 1 次提交
    • J
      usb-linux.c: fix buffer overflow · c4c0e236
      Jim Paris 提交于
      In usb-linux.c:usb_host_handle_control, we pass a 1024-byte buffer and
      length to the kernel.  However, the length was provided by the caller
      of dev->handle_packet, and is not checked, so the kernel might provide
      too much data and overflow our buffer.
      
      For example, hw/usb-uhci.c could set the length to 2047.
      hw/usb-ohci.c looks like it might go up to 4096 or 8192.
      
      This causes a qemu crash, as reported here:
        http://www.mail-archive.com/kvm@vger.kernel.org/msg18447.html
      
      This patch increases the usb-linux.c buffer size to 2048 to fix the
      specific device reported, and adds a check to avoid the overflow in
      any case.
      Signed-off-by: NJim Paris <jim@jtan.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c4c0e236
  20. 10 9月, 2009 2 次提交
  21. 08 9月, 2009 1 次提交
  22. 01 8月, 2009 1 次提交
  23. 11 7月, 2009 1 次提交
  24. 22 5月, 2009 1 次提交
    • J
      USB serial device support · d55ebf55
      Jason Wessel 提交于
      Add in a workaround to allow the usb serial devices to work with the
      usb pass through mechanism.  The ioctl() to request an alternate
      interface will always return < 0 for a usb-serial device based on the
      kernel driver.  This means there is no alternate interface end point.
      
      This was fully tested with a pl2303 usb serial device.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      d55ebf55
  25. 06 3月, 2009 1 次提交
    • A
      monitor: Rework API (Jan Kiszka) · 376253ec
      aliguori 提交于
      Refactor the monitor API and prepare it for decoupled terminals:
      term_print functions are renamed to monitor_* and all monitor services
      gain a new parameter (mon) that will once refer to the monitor instance
      the output is supposed to appear on. However, the argument remains
      unused for now. All monitor command callbacks are also extended by a mon
      parameter so that command handlers are able to pass an appropriate
      reference to monitor output services.
      
      For the case that monitor outputs so far happen without clearly
      identifiable context, the global variable cur_mon is introduced that
      shall once provide a pointer either to the current active monitor (while
      processing commands) or to the default one. On the mid or long term,
      those use case will be obsoleted so that this variable can be removed
      again.
      
      Due to the broad usage of the monitor interface, this patch mostly deals
      with converting users of the monitor API. A few of them are already
      extended to pass 'mon' from the command handler further down to internal
      functions that invoke monitor_printf.
      
      At this chance, monitor-related prototypes are moved from console.h to
      a new monitor.h. The same is done for the readline API.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6711 c046a42c-6fe2-441c-8c8c-71466251a162
      376253ec
  26. 06 2月, 2009 1 次提交
  27. 28 12月, 2008 1 次提交
  28. 23 11月, 2008 2 次提交
  29. 29 10月, 2008 1 次提交
  30. 25 10月, 2008 1 次提交
  31. 22 10月, 2008 2 次提交
  32. 08 10月, 2008 1 次提交