summaryrefslogtreecommitdiff
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2010-07-26 21:38:44 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-07-26 16:19:51 -0500
commit50641c5ce258220fc63ba5be1afd1a37f023aba9 (patch)
tree94daed3438036d8665344a86a0036fbec2e32789 /hw/ide/internal.h
parent811814bd2859ff272320f0c5765b0605f90ce7b3 (diff)
downloadqemu-50641c5ce258220fc63ba5be1afd1a37f023aba9.zip
ide: fix migration in the middle of pio operation
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 75745eee83..416554324c 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -419,6 +419,11 @@ struct IDEState {
uint8_t *data_ptr;
uint8_t *data_end;
uint8_t *io_buffer;
+ /* PIO save/restore */
+ int32_t io_buffer_total_len;
+ int cur_io_buffer_offset;
+ int cur_io_buffer_len;
+ uint8_t end_transfer_fn_idx;
QEMUTimer *sector_write_timer; /* only used for win2k install hack */
uint32_t irq_count; /* counts IRQs when using win2k install hack */
/* CF-ATA extended error */