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). >> >> In

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 RAMB

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 res

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 furth

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), > > 2

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 p

[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 it