mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
ide: fold add_status callback into set_inactive
It is now called only after the set_inactive callback. Put the two together. 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
0def37baf9
commit
0e7ce54cf5
6 changed files with 15 additions and 34 deletions
|
|
@ -355,7 +355,7 @@ static void ide_atapi_cmd_read_dma_cb(void *opaque, int ret)
|
|||
|
||||
eot:
|
||||
bdrv_acct_done(s->bs, &s->acct);
|
||||
ide_set_inactive(s);
|
||||
ide_set_inactive(s, false);
|
||||
}
|
||||
|
||||
/* start a CD-CDROM read command with DMA */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue