From f18be9010f3bf5ab0c7a24d441b5396640aebf07 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 22 Jan 2009 18:39:53 +0000 Subject: [PATCH] Fix warning in ide.c The vm state handler needed updating after the recent vm state change notification refactoring. Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6403 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ide.c b/hw/ide.c index 49c785d6e1..cfdee6cddd 100644 --- a/hw/ide.c +++ b/hw/ide.c @@ -1152,7 +1152,7 @@ static void ide_sector_write(IDEState *s) } } -static void ide_dma_restart_cb(void *opaque, int running) +static void ide_dma_restart_cb(void *opaque, int running, int reason) { BMDMAState *bm = opaque; if (!running)