Skip to contentSkip to conversation

ioemu-stubdom: fix initialization of vm_change_state_head (do not apply to qemu-xen tree)

PATCH New Samuel Thibault 1 participant 1 message Aug 6, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu-stubdom: fix initialization of vm_change_state_head (do not apply to qemu-xen tree)

ioemu-stubdom: fix initialization of vm_change_state_head That is actually a no-op since it just sets it to NULL again, but makes sense.

tools/ioemu/vl.c +2 -0
diff -r e3ad36beee7a tools/ioemu/vl.c
@@ -7104,8 +7104,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;