Skip to contentSkip to conversation

hw/scsi: add initial SCSI tape device emulation

PATCH New kantnero 1 participant 2 messages May 13 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

kantnero

author
#0 lore raw

cover hw/scsi: add initial SCSI tape device emulation

From: Emmanuel Ugwu <[email protected]>

This RFC adds the foundation for SCSI tape emulation in QEMU.

This patch implements realize and unrealize only. SCSI command handling will follow in subsequent patches.

Feedback needed on the overall structure.

Emmanuel Ugwu (1):
hw/scsi: add initial SCSI tape device emulation

 hw/scsi/meson.build |   1 +
 hw/scsi/scsi-tape.c | 221 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 222 insertions(+)
 create mode 100644 hw/scsi/scsi-tape.c
Signature · 1 line
2.54.0
author
#1 lore raw

PATCH 1/1 hw/scsi: add initial SCSI tape device emulation

Add a new scsi-tape device that attaches to a VirtIO SCSI bus. Implements realize and unrealize lifecycle only. SCSI command handling will follow in subsequent patches.

---
 hw/scsi/meson.build |   1 +
 hw/scsi/scsi-tape.c | 221 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 222 insertions(+)
 create mode 100644 hw/scsi/scsi-tape.c
hw/scsi/meson.build +1 -0
index 69fde0cf84..1699b6e591 100644
@@ -7,6 +7,7 @@ scsi_ss.add(files(
   'scsi-bus.c',
   'scsi-disk.c',
   'scsi-generic.c',
+  'scsi-tape.c',
 ))
 scsi_ss.add(when: 'CONFIG_ESP', if_true: files('esp.c'))
 scsi_ss.add(when: 'CONFIG_ESP_PCI', if_true: files('esp-pci.c'))
hw/scsi/scsi-tape.c new file +221 -0

221 lines not on this page · raw message

Signature · 1 line
2.54.0