All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-xen: do not use pipe with stubdom
@ 2009-03-23 16:29 Stefano Stabellini
  2009-03-23 17:40 ` Boris Derzhavets
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Stabellini @ 2009-03-23 16:29 UTC (permalink / raw)
  To: xen-devel

This patch allows stubdoms to start after the recent merge.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

diff --git a/vl.c b/vl.c
index 9b9f7d5..a5361fd 100644
--- a/vl.c
+++ b/vl.c
@@ -1773,7 +1773,7 @@ static int init_timer_alarm(void)
     struct qemu_alarm_timer *t = NULL;
     int i, err = -1;
 
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_STUBDOM)
     int fds[2];
 
     err = pipe(fds);
@@ -1805,7 +1805,7 @@ static int init_timer_alarm(void)
         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
@@ -1815,7 +1815,7 @@ static int init_timer_alarm(void)
     return 0;
 
 fail:
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_STUBDOM)
     close(fds[0]);
     close(fds[1]);
 #endif

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-23 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 16:29 [PATCH] qemu-xen: do not use pipe with stubdom Stefano Stabellini
2009-03-23 17:40 ` Boris Derzhavets

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.