This patch allows stubdoms to start after the recent merge.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
struct qemu_alarm_timer *t = NULL;
int i, err = -1;
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_STUBDOM)
int fds[2];
err = pipe(fds);
goto fail;
}
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_STUBDOM)
qemu_set_fd_handler2(alarm_timer_rfd, NULL,
try_to_rearm_timer, NULL, t);
#endif
return 0;
fail:
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_STUBDOM)
close(fds[0]);
close(fds[1]);
#endif