diff options
author | Paolo Bonzini | 2015-02-23 17:17:57 +0100 |
---|---|---|
committer | Kevin Wolf | 2015-03-10 14:02:22 +0100 |
commit | a96cb236290ef8e54b061b30c41835e435905d7a (patch) | |
tree | adc651b6b426c316d311b859b79eeb2ec2c73fb7 /hw/ide/internal.h | |
parent | ide: remove restart_cb callback (diff) | |
download | qemu-a96cb236290ef8e54b061b30c41835e435905d7a.tar.gz qemu-a96cb236290ef8e54b061b30c41835e435905d7a.tar.xz qemu-a96cb236290ef8e54b061b30c41835e435905d7a.zip |
ide: replace set_unit callback with more IDEBus state
Start moving the initial state of the current request to IDEBus, so that
AHCI can use it. The set_unit callback is not used anymore once this is
done.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1424708286-16483-9-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r-- | hw/ide/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index 44cce5b1ba..9630f6125b 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -436,7 +436,6 @@ struct IDEDMAOps { DMAInt32Func *prepare_buf; DMAu32Func *commit_buf; DMAIntFunc *rw_buf; - DMAIntFunc *set_unit; DMAVoidFunc *restart_dma; DMAStopFunc *set_inactive; DMAVoidFunc *cmd_done; @@ -465,6 +464,7 @@ struct IDEBus { qemu_irq irq; int error_status; + uint8_t retry_unit; }; #define TYPE_IDE_DEVICE "ide-device" |