mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
trace: [tracetool] Explicitly identify public backends
Public backends are those printed by "--list-backends" and thus considered valid by the configure script. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
e280ff5e91
commit
93fba1618d
6 changed files with 30 additions and 3 deletions
|
@ -90,8 +90,8 @@ def main(args):
|
|||
arg_format = arg
|
||||
|
||||
elif opt == "--list-backends":
|
||||
backends = tracetool.backend.get_list()
|
||||
out(", ".join([ b for b,_ in backends ]))
|
||||
public_backends = tracetool.backend.get_list(only_public = True)
|
||||
out(", ".join([ b for b,_ in public_backends ]))
|
||||
sys.exit(0)
|
||||
elif opt == "--check-backend":
|
||||
check_backend = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue