aboutsummaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Expand)AuthorFilesLines
2021-06-01python/machine: Disable pylint warning for open() in _pre_launchJohn Snow1-1/+5
2021-06-01python/console_socket: Add a pylint ignoreJohn Snow1-0/+1
2021-06-01python/machine: use subprocess.run instead of subprocess.PopenJohn Snow1-6/+9
2021-06-01python/machine: use subprocess.DEVNULL instead of open(os.path.devnull)John Snow1-4/+2
2021-06-01python/console_socket: avoid one-letter variableJohn Snow1-5/+5
2021-06-01Python: add utility function for retrieving port redirectionCleber Rosa1-0/+33
2021-06-01Python: expose QEMUMachine's temporary directoryCleber Rosa2-11/+19
2021-02-15Python: close the log file kept by QEMUMachine before reading itCleber Rosa1-2/+2
2021-01-02python: add __repr__ to ConsoleSocket to aid debuggingAlex Bennée1-0/+7
2020-12-10treewide: do not use short-form boolean optionsPaolo Bonzini1-1/+1
2020-11-23tests: add prefixes to the bare mkdtemp callsAlex Bennée1-1/+2
2020-10-20python/qemu/qmp.py: Fix settimeout operationJohn Snow1-6/+17
2020-10-20python/qemu/qmp.py: re-raise OSError when encounteredJohn Snow1-4/+5
2020-10-20python: add mypy configJohn Snow1-0/+4
2020-10-20python/qemu/qmp.py: Preserve error context on re-raiseJohn Snow1-4/+5
2020-10-20python/qemu/console_socket.py: avoid encoding to/from stringJohn Snow1-15/+5
2020-10-20python/qemu/console_socket.py: Add type hint annotationsJohn Snow1-9/+9
2020-10-20python/qemu/console_socket.py: Clarify type of drain_threadJohn Snow1-2/+1
2020-10-20python/qemu/console_socket.py: fix typing of settimeoutJohn Snow1-4/+6
2020-10-20python/qemu/console_socket.py: Correct type of recv()John Snow1-2/+3
2020-10-20python/qemu: Add mypy type annotationsJohn Snow4-75/+101
2020-10-20python/qemu: make 'args' style arguments immutableJohn Snow2-18/+34
2020-10-20python/machine.py: fix _popen accessJohn Snow1-5/+11
2020-10-20python/machine.py: Add _qmp access shimJohn Snow1-11/+13
2020-10-20python/machine.py: use qmp.commandJohn Snow1-12/+20
2020-10-20python/machine.py: Handle None events in events_waitJohn Snow1-7/+20
2020-10-20python/machine.py: Don't modify state in _base_args()John Snow2-10/+14
2020-10-20python/machine.py: reorder __init__John Snow1-19/+25
2020-10-20python/machine.py: Fix monitor address typingJohn Snow1-15/+25
2020-10-20python/qemu: use isort to lay out importsJohn Snow6-11/+19
2020-07-27python/qemu: Change ConsoleSocket to optionally drain socket.Robert Foley2-46/+59
2020-07-27python/qemu: Cleanup changes to ConsoleSocketRobert Foley3-32/+34
2020-07-25python/machine: Change default timeout to 30 secondsJohn Snow1-15/+15
2020-07-14python/qmp.py: add QMPProtocolErrorJohn Snow1-0/+10
2020-07-14python/qmp.py: add casts to JSON deserializationJohn Snow1-2/+6
2020-07-14python/qmp.py: Do not return None from cmd_objJohn Snow1-9/+5
2020-07-14python/qmp.py: re-absorb MonitorResponseErrorJohn Snow2-16/+16
2020-07-14python/qmp.py: Define common typesJohn Snow1-0/+18
2020-07-14python/machine.py: change default wait timeout to 3 secondsJohn Snow1-2/+2
2020-07-14python/machine.py: re-add sigkill warning suppressionJohn Snow1-1/+6
2020-07-14python/machine.py: split shutdown into hard and soft flavorsJohn Snow1-15/+83
2020-07-14python/machine.py: Make wait() call shutdown()John Snow1-8/+9
2020-07-14python/machine.py: Add a configurable timeout to shutdown()John Snow1-3/+5
2020-07-14python/machine.py: Prohibit multiple shutdown() callsJohn Snow1-1/+13
2020-07-14python/machine.py: Perform early cleanup for wait() calls, tooJohn Snow1-0/+1
2020-07-14python/machine.py: Add _early_cleanup hookJohn Snow1-6/+12
2020-07-14python/machine.py: Close QMP socket in cleanupJohn Snow1-3/+4
2020-07-14python/machine.py: consolidate _post_shutdown()John Snow1-14/+13
2020-07-11python/qemu: Add ConsoleSocket for optional use in QEMUMachineRobert Foley2-4/+129
2020-05-31python/qemu/qtest: Check before accessing _qtestJohn Snow1-3/+11