mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
0e7ce54cf5
commit
7e2648df86
3 changed files with 11 additions and 11 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue