Re: [Qemu-devel] [PATCH v7 2/3] block/qcow2: refactor encryption code

2019-09-16 Thread Max Reitz
On 15.09.19 22:36, Maxim Levitsky wrote: > * Change the qcow2_co_{encrypt|decrypt} to just receive full host and > guest offsets and use this function directly instead of calling > do_perform_cow_encrypt (which is removed by that patch). > > * Adjust qcow2_co_encdec to take full host and guest

Re: [Qemu-devel] [PATCH v7 2/3] block/qcow2: refactor encryption code

2019-09-16 Thread Vladimir Sementsov-Ogievskiy
15.09.2019 23:36, Maxim Levitsky wrote: > * Change the qcow2_co_{encrypt|decrypt} to just receive full host and >guest offsets and use this function directly instead of calling >do_perform_cow_encrypt (which is removed by that patch). > > * Adjust qcow2_co_encdec to take full host and gues

[Qemu-devel] [PATCH v7 2/3] block/qcow2: refactor encryption code

2019-09-15 Thread Maxim Levitsky
* Change the qcow2_co_{encrypt|decrypt} to just receive full host and guest offsets and use this function directly instead of calling do_perform_cow_encrypt (which is removed by that patch). * Adjust qcow2_co_encdec to take full host and guest offsets as well. * Document the qcow2_co_{encrypt