Re: Live migration fails with "Mismatched RAM page size ram-node0 (local) 2097152 != 1526773257204281392"

2021-02-02 Thread Damir Chanyshev
вт, 2 февр. 2021 г. в 17:01, Peter Maydell :
>
>
> Are you using exactly the same VM config on both source and
> destination ? The migration error messages are often rather
> opaque, but generally they mean "the source and the destination
> don't match". In this case I think the message means that the
> hugepage size on source and destination hosts is different.
>
> thanks
> -- PMM

Yes, VM config exactly the same on both sides. On hugepage part, guest
backed by 2M pages.
-- 
Thanks,
Damir Chanyshev



Live migration fails with "Mismatched RAM page size ram-node0 (local) 2097152 != 1526773257204281392"

2021-02-02 Thread Damir Chanyshev
Hello,
Qemu version 5.1 host os Debian 10.7
Two exactly the same  machines ( except ram size 380G and 1.5T )
Live migration fails (from host with 380G ram to 1.5T) with errors like this:
Feb 02 16:26:13 QEMU[12090]: kvm: load of migration failed: Invalid argument
Feb 02 16:26:13 QEMU[12090]: kvm: error while loading state for
instance 0x0 of device 'ram'
Feb 02 16:26:13 QEMU[12090]: kvm: Mismatched RAM page size ram-node0
(local) 2097152 != 1526773257204281392

I think it's some overflow issue.
-- 
Thanks,
Damir Chanyshev