Revision 847f171e

b/hw/ide/ahci.c
754 754
        case READ_FPDMA_QUEUED:
755 755
            DPRINTF(port, "NCQ reading %d sectors from LBA %ld, tag %d\n",
756 756
                    ncq_tfs->sector_count-1, ncq_tfs->lba, ncq_tfs->tag);
757
            ncq_tfs->is_read = 1;
758 757

  
759 758
            DPRINTF(port, "tag %d aio read %ld\n", ncq_tfs->tag, ncq_tfs->lba);
760 759

  
......
768 767
        case WRITE_FPDMA_QUEUED:
769 768
            DPRINTF(port, "NCQ writing %d sectors to LBA %ld, tag %d\n",
770 769
                    ncq_tfs->sector_count-1, ncq_tfs->lba, ncq_tfs->tag);
771
            ncq_tfs->is_read = 0;
772 770

  
773 771
            DPRINTF(port, "tag %d aio write %ld\n", ncq_tfs->tag, ncq_tfs->lba);
774 772

  
b/hw/ide/ahci.h
259 259
    BlockDriverAIOCB *aiocb;
260 260
    QEMUSGList sglist;
261 261
    BlockAcctCookie acct;
262
    int is_read;
263 262
    uint16_t sector_count;
264 263
    uint64_t lba;
265 264
    uint8_t tag;

Also available in: Unified diff