ioemu-stubdom: fix initialization of vm_change_state_head
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 6 Aug 2008 10:38:42 +0000 (11:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 6 Aug 2008 10:38:42 +0000 (11:38 +0100)
That is actually a no-op since it just sets it to NULL again, but
makes sense.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/vl.c

index 129e0d4475004b31ef0536c287d1b30a850222a4..9d526057e4fb687e00f4aacb7d56943b96de41e8 100644 (file)
@@ -7136,8 +7136,10 @@ int main(int argc, char **argv)
         sigaddset(&set, aio_sig_num);
         sigprocmask(SIG_BLOCK, &set, NULL);
     }
+#endif
 
     QEMU_LIST_INIT (&vm_change_state_head);
+#ifndef CONFIG_STUBDOM
 #ifndef _WIN32
     {
         struct sigaction act;