@@ -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);
@@ -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:
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(-)