Re: [PATCH v2 05/10] mirror: implement mirror_change method

2023-10-12 Thread Vladimir Sementsov-Ogievskiy
On 11.10.23 14:22, Fiona Ebner wrote: Am 10.10.23 um 21:37 schrieb Vladimir Sementsov-Ogievskiy: On 09.10.23 12:46, Fiona Ebner wrote:   +static void mirror_change(BlockJob *job, BlockJobChangeOptions *opts, +  Error **errp) +{ +    MirrorBlockJob *s = container_of(job,

Re: [PATCH v2 05/10] mirror: implement mirror_change method

2023-10-11 Thread Fiona Ebner
Am 10.10.23 um 21:37 schrieb Vladimir Sementsov-Ogievskiy: > On 09.10.23 12:46, Fiona Ebner wrote: >>   +static void mirror_change(BlockJob *job, BlockJobChangeOptions *opts, >> +  Error **errp) >> +{ >> +    MirrorBlockJob *s = container_of(job, MirrorBlockJob, common); >>

Re: [PATCH v2 05/10] mirror: implement mirror_change method

2023-10-10 Thread Vladimir Sementsov-Ogievskiy
On 09.10.23 12:46, Fiona Ebner wrote: which allows switching the @copy-mode from 'background' to 'write-blocking'. This is useful for management applications, so they can start out in background mode to avoid limiting guest write speed and switch to active mode when certain criteria are fulfille