qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5419] Variable autostart is not used outside main()
Date: Sun, 05 Oct 2008 09:56:21 +0000	[thread overview]
Message-ID: <E1KmQLd-00084M-L7@cvs.savannah.gnu.org> (raw)

Revision: 5419
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5419
Author:   blueswir1
Date:     2008-10-05 09:56:21 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
Variable autostart is not used outside main()

Modified Paths:
--------------
    trunk/sysemu.h
    trunk/vl.c

Modified: trunk/sysemu.h
===================================================================
--- trunk/sysemu.h	2008-10-04 20:43:39 UTC (rev 5418)
+++ trunk/sysemu.h	2008-10-05 09:56:21 UTC (rev 5419)
@@ -88,7 +88,6 @@
 extern int graphic_rotate;
 extern int no_quit;
 extern int semihosting_enabled;
-extern int autostart;
 extern int old_param;
 extern const char *bootp_filename;
 

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c	2008-10-04 20:43:39 UTC (rev 5418)
+++ trunk/vl.c	2008-10-05 09:56:21 UTC (rev 5419)
@@ -230,7 +230,6 @@
 const char *option_rom[MAX_OPTION_ROMS];
 int nb_option_roms;
 int semihosting_enabled = 0;
-int autostart = 1;
 #ifdef TARGET_ARM
 int old_param = 0;
 #endif
@@ -8502,6 +8501,7 @@
     int tb_size;
     const char *pid_file = NULL;
     VLANState *vlan;
+    int autostart;
 
     LIST_INIT (&vm_change_state_head);
 #ifndef _WIN32
@@ -8573,7 +8573,8 @@
     nb_nics = 0;
 
     tb_size = 0;
-    
+    autostart= 1;
+
     optind = 1;
     for(;;) {
         if (optind >= argc)

                 reply	other threads:[~2008-10-05  9:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1KmQLd-00084M-L7@cvs.savannah.gnu.org \
    --to=blauwirbel@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).