qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: TeLeMan <geleman@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] fix chardev_init for win32
Date: Thu, 15 Apr 2010 12:37:55 +0800	[thread overview]
Message-ID: <w2la38b25541004142137nc2cb191dsc6d1aff9e3dd740f@mail.gmail.com> (raw)

chardev_init functions use socket,so socket_init() shoud be placed at
the front of chardev_init on win32.

Signed-off-by: TeLeMan <geleman@gmail.com>
---
 vl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vl.c b/vl.c
index 460e050..96835e2 100644
--- a/vl.c
+++ b/vl.c
@@ -3468,6 +3468,8 @@ int main(int argc, char **argv, char **envp)
     if (default_vga)
         vga_interface_type = VGA_CIRRUS;

+    socket_init();
+
     if (qemu_opts_foreach(&qemu_chardev_opts, chardev_init_func, NULL, 1) != 0)
         exit(1);

@@ -3569,8 +3571,6 @@ int main(int argc, char **argv, char **envp)
     }
     configure_icount(icount_option);

-    socket_init();
-
     if (net_init_clients() < 0) {
         exit(1);
     }
-- 
1.6.5.1.1367.gcd48
--
SUN OF A BEACH

             reply	other threads:[~2010-04-15  4:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  4:37 TeLeMan [this message]
2010-05-18 17:57 ` [Qemu-devel] [PATCH] fix chardev_init for win32 Aurelien Jarno
  -- strict thread matches above, loose matches on Subject: below --
2010-01-05  1:45 TeLeMan
2010-01-08 16:50 ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=w2la38b25541004142137nc2cb191dsc6d1aff9e3dd740f@mail.gmail.com \
    --to=geleman@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).