1. 26 2月, 2015 1 次提交
  2. 18 2月, 2015 2 次提交
  3. 20 10月, 2014 2 次提交
  4. 15 10月, 2014 4 次提交
  5. 23 9月, 2014 4 次提交
  6. 22 9月, 2014 1 次提交
    • M
      usb-storage: Fix how legacy init handles option ID clash · 31376776
      Markus Armbruster 提交于
      usb_msd_init() calls qemu_opts_create() with a made-up ID and false
      fail_if_exists.  If the ID already exists, it happily messes up those
      options, then fails drive_new(), because the BlockDriverState with
      that ID already exists, too.
      
      Reproducer: -drive if=none,id=usb0,format=raw -usbdevice disk:tmp.qcow2
      
      Pass true fail_if_exists to qemu_opts_create(), and if it fails, try
      the next made-up ID.
      
      The reproducer now succeeds, and creates an usb-storage device with ID
      usb1.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      31376776
  7. 16 6月, 2014 1 次提交
  8. 14 5月, 2014 1 次提交
  9. 18 2月, 2014 1 次提交
  10. 06 11月, 2013 1 次提交
  11. 31 8月, 2013 1 次提交
  12. 29 7月, 2013 1 次提交
  13. 23 7月, 2013 1 次提交
  14. 24 6月, 2013 1 次提交
  15. 04 5月, 2013 1 次提交
  16. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  17. 06 4月, 2013 1 次提交
  18. 19 2月, 2013 1 次提交
  19. 22 1月, 2013 2 次提交
  20. 17 1月, 2013 1 次提交
  21. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  22. 19 12月, 2012 4 次提交
  23. 09 11月, 2012 1 次提交
    • H
      usb: split packet result into actual_length + status · 9a77a0f5
      Hans de Goede 提交于
      Since with the ehci and xhci controllers a single packet can be larger
      then maxpacketsize, it is possible for the result of a single packet
      to be both having transferred some data as well as the transfer to have
      an error.
      
      An example would be an input transfer from a bulk endpoint successfully
      receiving 1 or more maxpacketsize packets from the device, followed
      by a packet signalling halt.
      
      While already touching all the devices and controllers handle_packet /
      handle_data / handle_control code, also change the return type of
      these functions to void, solely storing the status in the packet. To
      make the code paths for regular versus async packet handling more
      uniform.
      
      This patch unfortunately is somewhat invasive, since makeing the qemu
      usb core deal with this requires changes everywhere. This patch only
      prepares the usb core for this, all the hcd / device changes are done
      in such a way that there are no functional changes.
      
      This patch has been tested with uhci and ehci hcds, together with usb-audio,
      usb-hid and usb-storage devices, as well as with usb-redir redirection
      with a wide variety of real devices.
      
      Note that there is usually no need to directly set packet->actual_length
      form devices handle_data callback, as that is done by usb_packet_copy()
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      9a77a0f5
  24. 11 9月, 2012 1 次提交
  25. 07 8月, 2012 2 次提交
  26. 17 7月, 2012 1 次提交
  27. 20 6月, 2012 1 次提交