[PATCH 0/4] usb/storage: split into multiple source files.

Gerd Hoffmann posted 4 patches 3 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210312090425.772900-1-kraxel@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>
include/hw/usb/msd.h         |  54 +++++++++
hw/usb/dev-storage-bot.c     |  63 ++++++++++
hw/usb/dev-storage-classic.c | 156 ++++++++++++++++++++++++
hw/usb/dev-storage.c         | 225 +----------------------------------
hw/usb/Kconfig               |  13 +-
hw/usb/meson.build           |   4 +-
6 files changed, 294 insertions(+), 221 deletions(-)
create mode 100644 include/hw/usb/msd.h
create mode 100644 hw/usb/dev-storage-bot.c
create mode 100644 hw/usb/dev-storage-classic.c
[PATCH 0/4] usb/storage: split into multiple source files.
Posted by Gerd Hoffmann 3 years, 1 month ago
One new file for the usb-bot device.
Another new files for the classic usb-storage device.
The abstract parent class remains in the original file.

Gerd Hoffmann (4):
  usb/storage: move declarations to usb/msd.h header
  usb/storage: move usb-bot device to separate source file
  usb/storage move usb-storage device to separate source file
  usb/storage: add kconfig symbols

 include/hw/usb/msd.h         |  54 +++++++++
 hw/usb/dev-storage-bot.c     |  63 ++++++++++
 hw/usb/dev-storage-classic.c | 156 ++++++++++++++++++++++++
 hw/usb/dev-storage.c         | 225 +----------------------------------
 hw/usb/Kconfig               |  13 +-
 hw/usb/meson.build           |   4 +-
 6 files changed, 294 insertions(+), 221 deletions(-)
 create mode 100644 include/hw/usb/msd.h
 create mode 100644 hw/usb/dev-storage-bot.c
 create mode 100644 hw/usb/dev-storage-classic.c

-- 
2.29.2