[PATCH 20/21] Get rid of qemu_get_launch_info()

Anthony Liguori
2009-04-29T21:21:35Z

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 --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:
--
1.6.0.6