Re: [Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-14 Thread Yury Kotov
11.01.2019, 21:25, "Dr. David Alan Gilbert" : > * Yury Kotov (yury-ko...@yandex-team.ru) wrote: >> 10.01.2019, 23:14, "Dr. David Alan Gilbert" : >> > * Yury Kotov (yury-ko...@yandex-team.ru) wrote: >> >> RAM migration has a RAMBlock validation stage (flag >> RAM_SAVE_FLAG_MEM_SIZE). >> >>

Re: [Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-11 Thread Dr. David Alan Gilbert
* Yury Kotov (yury-ko...@yandex-team.ru) wrote: > 10.01.2019, 23:14, "Dr. David Alan Gilbert" : > > * Yury Kotov (yury-ko...@yandex-team.ru) wrote: > >>  RAM migration has a RAMBlock validation stage (flag > >> RAM_SAVE_FLAG_MEM_SIZE). > >>  In this stage QEMU checks further information about

Re: [Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-11 Thread Yury Kotov
10.01.2019, 23:14, "Dr. David Alan Gilbert" : > * Yury Kotov (yury-ko...@yandex-team.ru) wrote: >>  RAM migration has a RAMBlock validation stage (flag RAM_SAVE_FLAG_MEM_SIZE). >>  In this stage QEMU checks further information about RAMBlock: >>  1. Presence (by idstr), >>  2. Length (trying to

Re: [Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-11 Thread Dr. David Alan Gilbert
* Igor Mammedov (imamm...@redhat.com) wrote: > On Thu, 10 Jan 2019 20:14:19 + > "Dr. David Alan Gilbert" wrote: > > > * Yury Kotov (yury-ko...@yandex-team.ru) wrote: > > > RAM migration has a RAMBlock validation stage (flag > > > RAM_SAVE_FLAG_MEM_SIZE). > > > In this stage QEMU checks

Re: [Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-11 Thread Igor Mammedov
On Thu, 10 Jan 2019 20:14:19 + "Dr. David Alan Gilbert" wrote: > * Yury Kotov (yury-ko...@yandex-team.ru) wrote: > > RAM migration has a RAMBlock validation stage (flag RAM_SAVE_FLAG_MEM_SIZE). > > In this stage QEMU checks further information about RAMBlock: > > 1. Presence (by idstr), > >

Re: [Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-10 Thread Dr. David Alan Gilbert
* Yury Kotov (yury-ko...@yandex-team.ru) wrote: > RAM migration has a RAMBlock validation stage (flag RAM_SAVE_FLAG_MEM_SIZE). > In this stage QEMU checks further information about RAMBlock: > 1. Presence (by idstr), > 2. Length (trying to resize, when differs), > 3. Optional page size. > > This

[Qemu-devel] [PATCH 1/4] migration: add RAMBlock's offset validation

2019-01-10 Thread Yury Kotov
RAM migration has a RAMBlock validation stage (flag RAM_SAVE_FLAG_MEM_SIZE). In this stage QEMU checks further information about RAMBlock: 1. Presence (by idstr), 2. Length (trying to resize, when differs), 3. Optional page size. This patch adds a check for RAMBlock's offset. Currently we check