nova/nova/virt/libvirt
Jens Harbott ba844f2a7c Make supports_direct_io work on 4096b sector size
The current check uses an alignment of 512 bytes and will fail when the
underlying device has sectors of size 4096 bytes, as is common e.g. for
NVMe disks. So use an alignment of 4096 bytes, which is a multiple of
512 bytes and thus will cover both cases.

Conflicts:
        nova/privsep/utils.py
        - supports_direct_io() is still in
          nova/virt/libvirt/driver.py for this branch

Change-Id: I5151ae01e90506747860d9780547b0d4ce91d8bc
Closes-Bug: 1801702
Co-Authored-By: Alexandre Arents <alexandre.arents@corp.ovh.com>
(cherry picked from commit 14d98ef1b4)
2018-11-21 14:17:04 +00:00
..
storage Remove translation of log messages 2017-06-13 11:20:28 +07:00
volume Vzstorage: synchronize volume connect 2017-12-01 17:46:19 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py Merge "Fix root_device_name for Xen" 2017-01-31 18:56:46 +00:00
compat.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
config.py Add format_dom for PCI device addresses 2017-08-08 17:20:34 +03:00
designer.py libvirt: conditionally set script path for ethernet vif types 2017-03-21 14:12:39 -04:00
driver.py Make supports_direct_io work on 4096b sector size 2018-11-21 14:17:04 +00:00
firewall.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
guest.py libvirt: add method to configure migration speed 2018-07-30 07:57:46 +00:00
host.py libvirt: Fix getting a wrong guest object 2017-08-28 19:40:56 +00:00
imagebackend.py imagebackend: cleanup constructor args to Rbd 2017-08-03 15:22:38 +01:00
imagecache.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
migration.py live-mig: keep disk device address same 2018-02-07 09:56:15 +00:00
utils.py Move the last_bytes util method to libvirt 2017-07-26 08:36:32 +10:00
vif.py Add VIFHostDevice support to libvirt driver 2017-07-25 21:15:30 +00:00