qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d0ccb3: usb-storage: switch trace events


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d0ccb3: usb-storage: switch trace events
Date: Mon, 16 Nov 2020 06:44:59 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d0ccb3922d952063655f653c932e737fed902b16
      
https://github.com/qemu/qemu/commit/d0ccb3922d952063655f653c932e737fed902b16
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/dev-storage.c
    M hw/usb/trace-events

  Log Message:
  -----------
  usb-storage: switch trace events

Replace most DPRINTF macros with trace events.
Drop some DPRINTF macros.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201105134112.25119-2-kraxel@redhat.com


  Commit: 51d4e4228d14927679b0b8c210156c04cb9dd6c7
      
https://github.com/qemu/qemu/commit/51d4e4228d14927679b0b8c210156c04cb9dd6c7
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/dev-storage.c

  Log Message:
  -----------
  usb-storage: add commandlog property

Add property so scsi command logging can be switched
at runtime instead of compile time.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201105134112.25119-3-kraxel@redhat.com


  Commit: e315bfd1ba5ece5b8d3fc616219391f2d4b08778
      
https://github.com/qemu/qemu/commit/e315bfd1ba5ece5b8d3fc616219391f2d4b08778
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/dev-storage.c

  Log Message:
  -----------
  usb-storage: use bool for removable property

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201105134112.25119-4-kraxel@redhat.com


  Commit: af06a0265e31848d895c1bbe173f03607cdba532
      
https://github.com/qemu/qemu/commit/af06a0265e31848d895c1bbe173f03607cdba532
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/dev-storage.c

  Log Message:
  -----------
  usb-storage: fill csw on cancel

When scsi requests are canceled fill the csw
(command status word) accordingly.

Buglink: https://bugs.launchpad.net/qemu/+bug/1901981
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20201105134112.25119-5-kraxel@redhat.com


  Commit: 22abfc96af0209fa58a7b9c13d60b2982db281c7
      
https://github.com/qemu/qemu/commit/22abfc96af0209fa58a7b9c13d60b2982db281c7
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: fix guest triggerable assert

We didn't start any work yet so we can just return
at that point instead of asserting.

Buglink: https://bugs.launchpad.net/qemu/+bug/1883732
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201105134112.25119-6-kraxel@redhat.com


  Commit: c590fe3aa23acb923159c41c741dd694cba9c544
      
https://github.com/qemu/qemu/commit/c590fe3aa23acb923159c41c741dd694cba9c544
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: move sanity checks

The v variable goes negative for reg < 0x20.  Reorder the code
to first sanity check then calculate v and assign intr to make
sanity checkers happy.

Buglink: https://bugs.launchpad.net/qemu/+bug/1902112
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201105134112.25119-7-kraxel@redhat.com


  Commit: 2f7c9dd5181524ceaf75ba3ef8d84090b1e9e8d8
      
https://github.com/qemu/qemu/commit/2f7c9dd5181524ceaf75ba3ef8d84090b1e9e8d8
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M hw/usb/dev-storage.c
    M hw/usb/hcd-xhci.c
    M hw/usb/trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/kraxel/tags/fixes-20201116-pull-request' into staging

usb: a bunch of fixes for guest-triggerable asserts
(should have been in last friday's pull, sorry ...).

# gpg: Signature made Mon 16 Nov 2020 11:09:45 GMT
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/fixes-20201116-pull-request:
  xhci: move sanity checks
  xhci: fix guest triggerable assert
  usb-storage: fill csw on cancel
  usb-storage: use bool for removable property
  usb-storage: add commandlog property
  usb-storage: switch trace events

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/126697e9f686...2f7c9dd51815



reply via email to

[Prev in Thread] Current Thread [Next in Thread]