Re: [Qemu-devel] [RFC v3 05/15] hw/arm/virt: handle max_vm_phys_shift conflicts on migration

2018-07-04 Thread Auger Eric
Hi David, On 07/04/2018 01:53 PM, David Hildenbrand wrote: > On 03.07.2018 21:32, Auger Eric wrote: >> Hi David, >> On 07/03/2018 08:41 PM, David Hildenbrand wrote: >>> On 03.07.2018 09:19, Eric Auger wrote: When migrating a VM, we must make sure the destination host supports as many IPA

Re: [Qemu-devel] [RFC v3 05/15] hw/arm/virt: handle max_vm_phys_shift conflicts on migration

2018-07-04 Thread David Hildenbrand
On 03.07.2018 21:32, Auger Eric wrote: > Hi David, > On 07/03/2018 08:41 PM, David Hildenbrand wrote: >> On 03.07.2018 09:19, Eric Auger wrote: >>> When migrating a VM, we must make sure the destination host >>> supports as many IPA bits as the source. Otherwise the migration >>> must fail. >>> >>>

Re: [Qemu-devel] [RFC v3 05/15] hw/arm/virt: handle max_vm_phys_shift conflicts on migration

2018-07-03 Thread Auger Eric
Hi David, On 07/03/2018 08:41 PM, David Hildenbrand wrote: > On 03.07.2018 09:19, Eric Auger wrote: >> When migrating a VM, we must make sure the destination host >> supports as many IPA bits as the source. Otherwise the migration >> must fail. >> >> We add a VMState infrastructure to machvirt. On

Re: [Qemu-devel] [RFC v3 05/15] hw/arm/virt: handle max_vm_phys_shift conflicts on migration

2018-07-03 Thread David Hildenbrand
On 03.07.2018 09:19, Eric Auger wrote: > When migrating a VM, we must make sure the destination host > supports as many IPA bits as the source. Otherwise the migration > must fail. > > We add a VMState infrastructure to machvirt. On pre_save(), > the current source max_vm_phys_shift is saved. > >

[Qemu-devel] [RFC v3 05/15] hw/arm/virt: handle max_vm_phys_shift conflicts on migration

2018-07-03 Thread Eric Auger
When migrating a VM, we must make sure the destination host supports as many IPA bits as the source. Otherwise the migration must fail. We add a VMState infrastructure to machvirt. On pre_save(), the current source max_vm_phys_shift is saved. On destination, we cannot use this information when cr