mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
qemu-rr: remove ./run -r and -R record and replay short options
In line with the "be very conservative with short options" philosophy.
This commit is contained in:
4
qemu-rr
4
qemu-rr
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eu
|
set -eu
|
||||||
./run -r "$@"
|
./run --record "$@"
|
||||||
./run -R "$@"
|
./run --replay "$@"
|
||||||
|
|||||||
2
run
2
run
@@ -220,13 +220,11 @@ Setup a kernel init parameter that makes the emulator quit immediately after boo
|
|||||||
'''
|
'''
|
||||||
)
|
)
|
||||||
self.add_argument(
|
self.add_argument(
|
||||||
'-R',
|
|
||||||
'--replay',
|
'--replay',
|
||||||
default=False,
|
default=False,
|
||||||
help='Replay a QEMU run record deterministically'
|
help='Replay a QEMU run record deterministically'
|
||||||
)
|
)
|
||||||
self.add_argument(
|
self.add_argument(
|
||||||
'-r',
|
|
||||||
'--record',
|
'--record',
|
||||||
default=False,
|
default=False,
|
||||||
help='Record a QEMU run record for later replay with `-R`'
|
help='Record a QEMU run record for later replay with `-R`'
|
||||||
|
|||||||
Reference in New Issue
Block a user