refine the live_debug.sh, move gdb to new tmux window
[lunaix-os.git] / lunaix-os / scripts / qemu.py
index fca6da9dac4579325e817cc65a5e7bcef7c796ba..edd5cdc15c587df494f718648f68eaabb9fe0784 100755 (executable)
@@ -346,13 +346,14 @@ class QEMUExec:
             cmds += dev.get_qemu_opts()
 
         cmds += extras
             cmds += dev.get_qemu_opts()
 
         cmds += extras
-        print(" ".join(cmds), "\n")
+        logger.info(" ".join(cmds))
 
         if dryrun:
             logger.info("[DRY RUN] QEMU not invoked")
             return
         
         handle = subprocess.Popen(cmds)
 
         if dryrun:
             logger.info("[DRY RUN] QEMU not invoked")
             return
         
         handle = subprocess.Popen(cmds)
+        logger.info(f"QEMU launched (pid={handle.pid})")
         
         while True:
             ret_code = handle.poll()
         
         while True:
             ret_code = handle.poll()