diff --git a/tools/labs/.gitignore b/tools/labs/.gitignore index ce629ee0746336..135684dc4dc132 100644 --- a/tools/labs/.gitignore +++ b/tools/labs/.gitignore @@ -3,6 +3,7 @@ vmlinux zImage serial.pts rootfs.img +disk0.img disk1.img disk2.img /*core-image-*.ext4 diff --git a/tools/labs/qemu/qemu.sh b/tools/labs/qemu/qemu.sh index 6073942b8fff78..4e11b6f6ccffee 100755 --- a/tools/labs/qemu/qemu.sh +++ b/tools/labs/qemu/qemu.sh @@ -19,6 +19,7 @@ esac echo info chardev | nc -U -l qemu.mon | egrep --line-buffered -o "/dev/pts/[0-9]*" | xargs -I PTS ln -fs PTS serial.pts & $qemu "$@" -monitor unix:qemu.mon -rm qemu.mon +rm qemu.mon rm serial.pts +rm serial_console.socket $SCRIPT_DIR/cleanup-net.sh