core-admin/qubes
Rusty Bird d7478d128b
storage/reflink: document hardcoded sizeof(int) for FICLONE
One alternative would look like

    import ctypes
    sizeof_int = ctypes.sizeof(ctypes.c_int)
    FICLONE = (1073741824 % 256**sizeof_int) | 37897 | (sizeof_int << 16)

but, even if the above really(?) is a 100% correct Python port of

    $ echo FICLONE | cpp -include linux/fs.h | tail -n 1

it still seems more likely that the ctypes package is somehow buggy
somewhere than for Qubes storage to run on an exotic architecture with
non 32 bit ints (in the foreseeable future).

So just document the baked in assumption.
2019-12-03 18:21:54 +00:00
..
api Merge branch 'devel20191029' 2019-11-12 23:11:30 +01:00
ext ext/block: prefer connecting cdrom as xvdd 2019-11-19 14:03:21 +01:00
qmemman qmemmand: separate SystemState init xc and xs to a 'init' method 2019-11-22 21:38:27 +01:00
storage storage/reflink: document hardcoded sizeof(int) for FICLONE 2019-12-03 18:21:54 +00:00
tests ext/block: prefer connecting cdrom as xvdd 2019-11-19 14:03:21 +01:00
tools qmemmand: separate SystemState init xc and xs to a 'init' method 2019-11-22 21:38:27 +01:00
vm vm: improve error message about missing IOMMU 2019-10-30 15:45:52 +01:00
__init__.py Fixed unexpected error on empty default template and incorrect error handling 2019-09-19 20:20:36 +02:00
app.py default_guivm: set to dom0 due to migration R4.0->R4.1 problems 2019-11-16 13:04:42 +01:00
backup.py Remove unused core2migration.py 2018-12-04 16:12:33 +01:00
config.py vm/adminvm: add run_service* functions 2019-06-09 21:00:02 +02:00
devices.py Make pylint happy 2019-09-27 16:29:20 +02:00
dochelpers.py Fix Sphinx 2 new API for Fedora 31+ 2019-11-22 21:39:31 +01:00
events.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
exc.py Throw BackupAlreadyRunningError when backup is already running 2019-11-11 19:16:03 +01:00
features.py qubes/features: check_with_(template_and_)adminvm 2018-12-20 18:28:33 +01:00
firewall.py Make pylint happy 2019-09-27 16:29:20 +02:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Fix invalid timezone 2019-08-06 18:23:00 -03:00