mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
scripts/kvm/vmxcap: Use Python 3 interpreter and add pseudo-main()
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20200512103238.7078-5-philmd@redhat.com>
This commit is contained in:
parent
06d4c71f48
commit
e57a707a82
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# tool for querying VMX capabilities
|
||||
#
|
||||
|
@ -275,5 +275,6 @@ controls = [
|
|||
),
|
||||
]
|
||||
|
||||
for c in controls:
|
||||
c.show()
|
||||
if __name__ == '__main__':
|
||||
for c in controls:
|
||||
c.show()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue