Commit f18be9010f3bf5ab0c7a24d441b5396640aebf07
1 parent
9781e040
Fix warning in ide.c
The vm state handler needed updating after the recent vm state change notification refactoring. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6403 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/ide.c
@@ -1152,7 +1152,7 @@ static void ide_sector_write(IDEState *s) | @@ -1152,7 +1152,7 @@ static void ide_sector_write(IDEState *s) | ||
1152 | } | 1152 | } |
1153 | } | 1153 | } |
1154 | 1154 | ||
1155 | -static void ide_dma_restart_cb(void *opaque, int running) | 1155 | +static void ide_dma_restart_cb(void *opaque, int running, int reason) |
1156 | { | 1156 | { |
1157 | BMDMAState *bm = opaque; | 1157 | BMDMAState *bm = opaque; |
1158 | if (!running) | 1158 | if (!running) |