[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT de1c90c] vl: Add failure check for SetEvent
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT de1c90c] vl: Add failure check for SetEvent |
Date: |
Sun, 27 Sep 2009 10:43:25 -0000 |
From: malc <address@hidden>
Signed-off-by: malc <address@hidden>
diff --git a/vl.c b/vl.c
index fe23311..27c6458 100644
--- a/vl.c
+++ b/vl.c
@@ -3390,7 +3390,11 @@ static int qemu_event_init(void)
static void qemu_event_increment(void)
{
- SetEvent(qemu_event_handle);
+ if (!SetEvent(qemu_event_handle)) {
+ fprintf(stderr, "qemu_event_increment: SetEvent failed: %d\n",
+ GetLastError());
+ exit (1);
+ }
}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT de1c90c] vl: Add failure check for SetEvent,
Anthony Liguori <=