aboutsummaryrefslogtreecommitdiff
path: root/ioport.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-06-23 17:24:09 +0100
committerMax Reitz <mreitz@redhat.com>2017-07-11 17:44:56 +0200
commit446d306d23c8b568affec104d74f84f48d5eaa24 (patch)
tree3c9ee21b370901005a9bdf35fd92f3281f803300 /ioport.c
parentd85f4222b4681da7ebf8a90b26e085a68fa2c55a (diff)
downloadqemu-446d306d23c8b568affec104d74f84f48d5eaa24.zip
qemu-446d306d23c8b568affec104d74f84f48d5eaa24.tar.gz
qemu-446d306d23c8b568affec104d74f84f48d5eaa24.tar.bz2
qcow2: make qcow2_encrypt_sectors encrypt in place
Instead of requiring separate input/output buffers for encrypting data, change qcow2_encrypt_sectors() to assume use of a single buffer, encrypting in place. The current callers all used the same buffer for input/output already. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 20170623162419.26068-11-berrange@redhat.com Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ioport.c')
0 files changed, 0 insertions, 0 deletions