Re: [PATCH] migration: support file: uri for source migration

2022-09-12 Thread Daniel P . Berrangé
On Mon, Sep 12, 2022 at 07:30:50PM +0300, Nikolay Borisov wrote: > > > On 12.09.22 г. 18:41 ч., Daniel P. Berrangé wrote: > > On Thu, Sep 08, 2022 at 01:26:32PM +0300, Nikolay Borisov wrote: > > > This is a prototype of supporting a 'file:' based uri protocol for > > > writing out the migration s

Re: [PATCH] migration: support file: uri for source migration

2022-09-12 Thread Nikolay Borisov
On 12.09.22 г. 18:41 ч., Daniel P. Berrangé wrote: On Thu, Sep 08, 2022 at 01:26:32PM +0300, Nikolay Borisov wrote: This is a prototype of supporting a 'file:' based uri protocol for writing out the migration stream of qemu. Currently the code always opens the file in DIO mode and adheres to

Re: [PATCH] migration: support file: uri for source migration

2022-09-12 Thread Daniel P . Berrangé
On Thu, Sep 08, 2022 at 01:26:32PM +0300, Nikolay Borisov wrote: > This is a prototype of supporting a 'file:' based uri protocol for > writing out the migration stream of qemu. Currently the code always > opens the file in DIO mode and adheres to an alignment of 64k to be > generic enough. However

[PATCH] migration: support file: uri for source migration

2022-09-08 Thread Nikolay Borisov
This is a prototype of supporting a 'file:' based uri protocol for writing out the migration stream of qemu. Currently the code always opens the file in DIO mode and adheres to an alignment of 64k to be generic enough. However this comes with a problem - it requires copying all data that we are wri