summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-10 16:53:59 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-04-10 16:53:59 -0400
commitcdeb32f016e32df7b5c99df7f04bb168f68d32b8 (patch)
tree00b7b5a43cb1cc9d296549f391e092931817a5c3
parent41808aaac6e483d9376c07fdae92d9ba2c48ab09 (diff)
Fix pathnames
We changed the paths to the sockets for connecting to qemu, not all uses got updated. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--lib/libktest.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/libktest.sh b/lib/libktest.sh
index 4457818..b9de023 100644
--- a/lib/libktest.sh
+++ b/lib/libktest.sh
@@ -217,7 +217,7 @@ ktest_gdb()
fi
exec gdb -ex "set remote interrupt-on-connect" \
- -ex "target remote | socat UNIX-CONNECT:$ktest_out/vm/vm-gdb -"\
+ -ex "target remote | socat UNIX-CONNECT:$ktest_out/vm/gdb -"\
"$ktest_kernel_binary/vmlinux"
}
@@ -231,20 +231,14 @@ ktest_kgdb()
ktest_sysrq g
exec gdb -ex "set remote interrupt-on-connect" \
- -ex "target remote | socat UNIX-CONNECT:$ktest_out/vm/vm-kgdb -"\
+ -ex "target remote | socat UNIX-CONNECT:$ktest_out/vm/kgdb -"\
"$ktest_kernel_binary/vmlinux"
}
ktest_mon()
{
exec socat UNIX-CONNECT:"$ktest_out/vm/vm-mon" STDIO
- exec nc "$ktest_out/vm/vm-0-mon"
-}
-
-ktest_con()
-{
- exec socat UNIX-CONNECT:"$ktest_out/vm/vm-con" STDIO
- exec nc "$ktest_out/vm/vm-0-con"
+ exec nc "$ktest_out/vm/mon"
}
ktest_sysrq()