Go to file
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
ci tools: add qvm-backup tool 2017-07-21 03:58:18 +02:00
debian version 4.0.4 2017-07-30 19:20:07 +02:00
doc Merge branch 'devel-6' 2017-07-29 05:28:57 +02:00
etc Fix qvm-start-gui autostart script 2017-05-19 17:30:11 +02:00
qubesadmin tools/qvm-run: fix handling small data blocks 2017-08-02 02:43:03 +02:00
rpm_spec debian,fedora: add missing python-docutils dependency 2017-05-23 04:31:20 +02:00
test-packages Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
.gitignore travis: integrate test coverage reports via codecov 2017-03-02 02:05:36 +01:00
.travis.yml tests: disable slow tests unless ENABLE_SLOW_TESTS=1 is set 2017-07-21 03:54:04 +02:00
LICENSE Initial commit 2017-03-01 23:48:53 +01:00
Makefile Add qvm-start-gui autostart script 2017-04-29 01:18:34 +02:00
Makefile.builder debian: initial packaging 2017-05-20 03:15:23 +02:00
README.md Update documentation link in readme 2017-05-12 00:13:01 +02:00
run-tests Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
setup.py tests: add v4 (Qubes 4.0) backup format tests, move qubes.xml 2017-07-17 20:28:21 +02:00
version version 4.0.4 2017-07-30 19:20:07 +02:00

This is client side implementation of Qubes Admin API. See https://www.qubes-os.org/doc/admin-api/ for protocol specification.

Compatibility

Most of the API modules are compatible with Python >= 2.7. Very few parts require Python >= 3.4:

  • tools (qvm-*)
  • qubesadmin.events module (for asyncio module)

Parts not compatible with Python < 3.4, are not installed in such environment.