hw/scsi: add initial SCSI tape device emulation
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
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.
Signed-off-by Emmanuel Ugwu <[email protected]>
Signed-off-by kantnero <[email protected]>
--- 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
@@ -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