This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # before, launch qemu-system-x86_64 stos-i386-pc.boot \ | |
| # -serial tcp:127.0.0.1:4445,server,nowait \ | |
| # -qmp tcp:127.0.0.1:4444,server,nowait \ | |
| # -nographic | |
| import sys | |
| sys.path.append("/home/gaby/source/qemu/scripts/qmp") | |
| import qmp | |
| import pexpect | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import dbus | |
| def iwd_stations(obj): | |
| for k, v in obj.items(): | |
| if 'net.connman.iwd.Station' in v: | |
| yield k, v | |
| system_bus = dbus.SystemBus() |
OlderNewer