summaryrefslogtreecommitdiffstats
path: root/hw/ide/pci.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-08-04 17:11:13 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-15 18:03:12 +0100
commit7e2648df86a36c063a34196b3bede0a13ebc6809 (patch)
treee3b4d636953a351410d4ec0e87aeb8a09ad71a4a /hw/ide/pci.c
parent0e7ce54cf5fb9b7e8d19a5a4eb1facf123edbcef (diff)
downloadhqemu-7e2648df86a36c063a34196b3bede0a13ebc6809.zip
hqemu-7e2648df86a36c063a34196b3bede0a13ebc6809.tar.gz
ide: move BM_STATUS bits to pci.[ch]
They are not used by AHCI, and should not be even available there. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/ide/pci.c')
-rw-r--r--hw/ide/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ide/pci.c b/hw/ide/pci.c
index 73267a4..0e82cab 100644
--- a/hw/ide/pci.c
+++ b/hw/ide/pci.c
@@ -33,6 +33,10 @@
#define BMDMA_PAGE_SIZE 4096
+#define BM_MIGRATION_COMPAT_STATUS_BITS \
+ (BM_STATUS_DMA_RETRY | BM_STATUS_PIO_RETRY | \
+ BM_STATUS_RETRY_READ | BM_STATUS_RETRY_FLUSH)
+
static void bmdma_start_dma(IDEDMA *dma, IDEState *s,
BlockDriverCompletionFunc *dma_cb)
{
OpenPOWER on IntegriCloud