Signed-off-by: Alexander Bezzubikov <[email protected]>
---
hw/ide/internal.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index f2999ce..3ebc63c 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -429,6 +429,8 @@ struct IDEState {
uint8_t *smart_selftest_data;
/* AHCI */
int ncq_queues;
+ /* ATAPI-SCSI bridge */
+ SCSIRequest *cur_req;
};
struct IDEDMAOps {
@@ -493,6 +495,7 @@ struct IDEDevice {
char *serial;
char *model;
uint64_t wwn;
+ SCSIBus *scsi_bus;
};
/* These are used for the error_status field of IDEBus */
--
2.1.4