core-admin-client/qubesadmin/tools
Marek Marczykowski-Górecki 50bd9f5fab
tools/qvm-run: fix handling small data blocks
When data block is smaller than 4096 (and no EOF is reached), python's
io.read() will call read(2) again to get more data. This may deadlock if
the other end of connection will write anything only after receiveing
data (which is the case for qubes.Filecopy).
Disable this buffering by using syscall wrappers directly. To not affect
performance that much, increase buffer size to 64k.

Fixes QubesOS/qubes-issues#2948
2017-08-02 02:43:03 +02:00
..
__init__.py toos: fix handling default command (qvm-device, qvm-volume, ...) 2017-05-30 01:41:51 +02:00
dochelpers.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qubes_prefs.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_backup_restore.py backup/restore: add option to ignore size limit 2017-07-29 05:13:46 +02:00
qvm_backup.py tools: add qvm-backup tool 2017-07-21 03:58:18 +02:00
qvm_check.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_clone.py Implement VM clone as create + copy data+metadata 2017-06-20 01:34:18 +02:00
qvm_create.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_device.py toos: fix handling default command (qvm-device, qvm-volume, ...) 2017-05-30 01:41:51 +02:00
qvm_features.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_firewall.py tools: remove policy handling from qvm-firewall tool 2017-07-05 14:16:30 +02:00
qvm_kill.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_ls.py qvm-ls: fix total VM size reporting 2017-07-29 04:56:20 +02:00
qvm_pause.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_pool.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_prefs.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_remove.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_run.py tools/qvm-run: fix handling small data blocks 2017-08-02 02:43:03 +02:00
qvm_service.py tools: qvm-service tool 2017-07-28 14:24:04 +02:00
qvm_shutdown.py tools/qvm-shutdown: fix help message 2017-07-27 19:17:47 +02:00
qvm_start_gui.py tools/qvm-start-gui: do not start stubdomain GUI for VMs with gui-agent 2017-07-30 18:54:08 +02:00
qvm_start.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_tags.py tools: add qvm-tags tool 2017-06-20 01:34:17 +02:00
qvm_template_postprocess.py events: simplify wait_for_domain_shutdown coroutine 2017-07-06 22:01:17 +02:00
qvm_unpause.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qvm_volume.py tools/qvm-volume: fix default action handling 2017-07-21 03:10:02 +02:00