1. 05 4月, 2016 1 次提交
  2. 30 3月, 2016 1 次提交
    • D
      block: an interoperability test for luks vs dm-crypt/cryptsetup · 6278ae03
      Daniel P. Berrange 提交于
      It is important that the QEMU luks implementation retains 100%
      compatibility with the reference implementation provided by
      the combination of the linux kernel dm-crypt module and cryptsetup
      userspace tools.
      
      There is a matrix of tests to be performed with different sets
      of encryption settings. For each matrix entry, two tests will
      be performed. One will create a LUKS image with the cryptsetup
      tool and then do I/O with both cryptsetup & qemu-io. The other
      will create the image with qemu-img and then again do I/O with
      both cryptsetup and qemu-io.
      
      The new I/O test 149 performs interoperability testing between
      QEMU and the reference implementation. Such testing inherantly
      requires elevated privileges, so to this this the user must have
      configured passwordless sudo access. The test will automatically
      skip if sudo is not available.
      
      The test has to be run explicitly thus:
      
          cd tests/qemu-iotests
          ./check -luks 149
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      6278ae03