RE: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-23 Thread Shameerali Kolothum Thodi
; da...@redhat.com; m...@redhat.com; > Linuxarm ; xuwei (O) ; > shannon.zha...@gmail.com; ler...@redhat.com > Subject: Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately > > On Wed, 11 Mar 2020 17:20:06 + > Shameer Kolothum wrote: > > > Any sub-page s

Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-23 Thread Igor Mammedov
On Wed, 11 Mar 2020 17:20:06 + Shameer Kolothum wrote: > Any sub-page size update to ACPI table MRs will be lost during > migration, as we use aligned size in ram_load_precopy() -> > qemu_ram_resize() path. This will result in inconsistency in sizes > between source and destination. I'm not

RE: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-20 Thread Shameerali Kolothum Thodi
nnon.zha...@gmail.com; xiaoguangrong.e...@gmail.com; > da...@redhat.com; xuwei (O) ; ler...@redhat.com; > Linuxarm > Subject: Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately > > On Thu, Mar 12, 2020 at 09:27:32AM +, Shameerali Kolothum Thodi > wro

Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-19 Thread Michael S. Tsirkin
rg; qemu-...@nongnu.org; > > eric.au...@redhat.com; imamm...@redhat.com; peter.mayd...@linaro.org; > > shannon.zha...@gmail.com; xiaoguangrong.e...@gmail.com; > > da...@redhat.com; xuwei (O) ; ler...@redhat.com; > > Linuxarm > > Subject: Re: [PATCH v3 02/10] fw_cfg: Mi

RE: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-12 Thread Shameerali Kolothum Thodi
nnon.zha...@gmail.com; xiaoguangrong.e...@gmail.com; > da...@redhat.com; xuwei (O) ; ler...@redhat.com; > Linuxarm > Subject: Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately > > On Wed, Mar 11, 2020 at 05:20:06PM +, Shameer Kolothum wrote: > > Any sub-page

Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-11 Thread Michael S. Tsirkin
On Wed, Mar 11, 2020 at 05:20:06PM +, Shameer Kolothum wrote: > Any sub-page size update to ACPI table MRs will be lost during > migration, as we use aligned size in ram_load_precopy() -> > qemu_ram_resize() path. This will result in inconsistency in sizes > between source and destination. In

Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-11 Thread Michael S. Tsirkin
On Wed, Mar 11, 2020 at 05:20:06PM +, Shameer Kolothum wrote: > Any sub-page size update to ACPI table MRs will be lost during > migration, as we use aligned size in ram_load_precopy() -> > qemu_ram_resize() path. This will result in inconsistency in sizes > between source and destination. In

Re: [PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-11 Thread David Hildenbrand
On 11.03.20 18:20, Shameer Kolothum wrote: > Any sub-page size update to ACPI table MRs will be lost during > migration, as we use aligned size in ram_load_precopy() -> > qemu_ram_resize() path. This will result in inconsistency in sizes > between source and destination. In order to avoid this,

[PATCH v3 02/10] fw_cfg: Migrate ACPI table mr sizes separately

2020-03-11 Thread Shameer Kolothum
Any sub-page size update to ACPI table MRs will be lost during migration, as we use aligned size in ram_load_precopy() -> qemu_ram_resize() path. This will result in inconsistency in sizes between source and destination. In order to avoid this, save and restore them separately during migration.