Skip to content
  • Eric Blake's avatar
    609841a3
    qcow: Switch to a byte-based driver · 609841a3
    Eric Blake authored
    
    
    We are gradually moving away from sector-based interfaces, towards
    byte-based.  The qcow driver is now ready to fully utilize the
    byte-based callback interface, as long as we override the default
    alignment to still be 512 (needed at least for asserts present
    because of encryption, but easier to do everywhere than to audit
    which sub-sector requests are handled correctly, especially since
    we no longer recommend qcow for new disk images).
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Reviewed-by: default avatarJeff Cody <jcody@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    609841a3
    qcow: Switch to a byte-based driver
    Eric Blake authored
    
    
    We are gradually moving away from sector-based interfaces, towards
    byte-based.  The qcow driver is now ready to fully utilize the
    byte-based callback interface, as long as we override the default
    alignment to still be 512 (needed at least for asserts present
    because of encryption, but easier to do everywhere than to audit
    which sub-sector requests are handled correctly, especially since
    we no longer recommend qcow for new disk images).
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Reviewed-by: default avatarJeff Cody <jcody@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading