Right now the gdb stub support is mutually exclusive of the loadvm
command line support. In fact it might be nice to have the loadvm and
savevm commands exposed via the gdb stub so you can save an instance
which you can debug again later.
The attached patch makes it so you can execute a -loadvm from the
command line while still having the gdb stub support active.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Jason.
---
vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: qemu/vl.c
===================================================================
--- qemu.orig/vl.c
+++ qemu/vl.c
@@ -8011,7 +8011,7 @@ int main(int argc, char **argv)
gdbstub_port);
exit(1);
}
- } else
+ }
#endif
if (loadvm)
do_loadvm(loadvm);