diff mbox

[20/21] Get rid of qemu_get_launch_info()

Message ID 1241040038-17183-21-git-send-email-aliguori@us.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony Liguori April 29, 2009, 9:20 p.m. UTC
This is left over from the old ssh migration implementation

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 sysemu.h |    3 ---
 vl.c     |   13 -------------
 2 files changed, 0 insertions(+), 16 deletions(-)
diff mbox

Patch

diff --git a/sysemu.h b/sysemu.h
index e8dd381..cf6b48a 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -46,9 +46,6 @@  void qemu_system_powerdown(void);
 #endif
 void qemu_system_reset(void);
 
-void qemu_get_launch_info(int *argc, char ***argv,
-                          int *opt_daemonize, const char **opt_incoming);
-
 void do_savevm(Monitor *mon, const char *name);
 void do_loadvm(Monitor *mon, const char *name);
 void do_delvm(Monitor *mon, const char *name);
diff --git a/vl.c b/vl.c
index 19c1de3..a38379b 100644
--- a/vl.c
+++ b/vl.c
@@ -4373,18 +4373,6 @@  int qemu_uuid_parse(const char *str, uint8_t *uuid)
 
 #define MAX_NET_CLIENTS 32
 
-static int saved_argc;
-static char **saved_argv;
-static const char *saved_incoming;
-
-void qemu_get_launch_info(int *argc, char ***argv, int *opt_daemonize, const char **opt_incoming)
-{
-    *argc = saved_argc;
-    *argv = saved_argv;
-    *opt_daemonize = daemonize;
-    *opt_incoming = saved_incoming;
-}
-
 #ifdef USE_KVM
 
 #define HUGETLBFS_MAGIC       0x958458f6
@@ -5287,7 +5275,6 @@  int main(int argc, char **argv, char **envp)
                 break;
             case QEMU_OPTION_incoming:
                 incoming = optarg;
-                saved_incoming = incoming;
                 break;
 #ifndef _WIN32
             case QEMU_OPTION_chroot: