Re: Optimized clocksource with AMD AVIC enabled for Windows guest

2021-02-02 Thread Paolo Bonzini

On 03/02/21 07:40, Kechen Lu wrote:

From the above observations, trying to see if there's a way for
enabling AVIC while also having the most optimized clock source for
windows guest.



You would have to change KVM, so that AVIC is only disabled if Auto-EOI 
interrupts are used.


Paolo




Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

2021-02-02 Thread zgong--- via
Hi Artyom,

Another super quick reply 

"You are running emulated Solaris 10 on a sun4v partition",
--So basically this OpenSPARCT1_Arch.1.5.tar.bz2 is like a tarred Solaris 10 
Sparc VM template? Wow, cool! That's exactly what I am looking for.

"That one is tricky. The emulated machine has no devices except for a serial 
line. I think it should be possible to set up ppp over serial or SLiP, but 
haven't tried it myself."
--I will try it.

"And can I modify its filesystem size? I need much bigger filesystem"
--I will google on the opensparc related projects and try it.


Thanks,
Zaiwen



From: Artyom Tarasenko 
Sent: Tuesday, February 2, 2021 2:50 PM
To: Gong, Zaiwen 
Cc: Philippe Mathieu-Daudé ; qemu-discuss@nongnu.org 
; Mark Cave-Ayland 
Subject: Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

On Tue, Feb 2, 2021 at 8:37 PM Gong, Zaiwen  wrote:
>
> Hi Artyom,
>
> Thank you very much for the quick reply. I really appreciate it.
>
> I followed your instructions:
> https://urldefense.com/v3/__https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html__;!!P4SdNyxKAPE!Uw3XDbBI73uSAu26F1h80aJSdp52dLb1HoUzcZbLeUoABfGJXdNNhMVqygH-jNc$
>
> Here is what I did:
>
> download 
> https://urldefense.com/v3/__http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2__;!!P4SdNyxKAPE!Uw3XDbBI73uSAu26F1h80aJSdp52dLb1HoUzcZbLeUoABfGJXdNNhMVqE8NOb8o$
>   to my machine's folder /home/here/
> $ cd /home/here
> $ tar xfj OpenSPARCT1_Arch.1.5.tar.bz2 ./S10image
> $ /home/here/qemu-5.2.0/build/sparc64-softmmu/qemu-system-sparc64 -M niagara 
> -L /home/here/S10image/ -nographic -m 256 -drive 
> if=pflash,readonly=on,file=/home/here/S10image/disk.s10hw2
>
> Sun Fire T2000, No Keyboard
> Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
> OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
> [mo23723 obp4.20.0 #0]
> Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.
>
> ok boot –v
> <…>
> Hostname: unknown
> unknown console login: root
> Last login: Tue Feb  2 10:44:51 on console
> Sun Microsystems Inc.   SunOS 5.10  Generic January 2005
> # uname -a
> SunOS unknown 5.10 Generic_118822-23 sun4v sparc sun4v
> # df -kh
> Filesystem size   used  avail capacity  Mounted on
> /dev/dsk/c0t0d0s0  480M   232M   200M54%/
>
>
> So, I am now in a Solaris 10 Sparc machine so easily?

Yes. :-)

> Can you explain the big picture to me?

You are running emulated Solaris 10 on a sun4v partition.

> How could I configure inside/outside network?

That one is tricky. The emulated machine has no devices except for a
serial line. I think it should be possible to set up ppp over serial
or SLiP, but haven't tried it myself.

>And can I modify its filesystem size? I need much bigger filesystem.

Should be possible but I don't remember the details. Try to google on
the opensparc related projects.

> Actually, I don't really understand this line in your instruction:
> $ cd path/to/qemu-sun4v
>
> What is this path/to/qemu-sun4v? Do I miss anything?

You probably don't need this, it was for building qemu from my source
tree. Meanwhile the changes are in the upstream, so it's not
necessary.

>
> 
> From: Artyom Tarasenko 
> Sent: Tuesday, February 2, 2021 1:06 PM
> To: Philippe Mathieu-Daudé 
> Cc: Gong, Zaiwen ; qemu-discuss@nongnu.org 
> ; Mark Cave-Ayland 
> Subject: Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64
>
> On Tue, Feb 2, 2021 at 6:57 PM Philippe Mathieu-Daudé  wrote:
> >
> > Cc'ing Mark & Artyom.
> >
> > On 2/2/21 5:35 PM, Gong, Zaiwen wrote:
> > > Hi,
> > >
> > >
> > > I have successfully installed a Solaris 9/32bit Sparc VM
> > > using qemu-system-sparc.
> > >
> > >
> > > Now I am trying to install a Solaris 10/64bit Sparc VM
> > > using qemu-system-sparc64.
> > >
> > >
> > > I tried with QEMU emulator version 4.2.0 and 5.2.0
> > > (https://urldefense.com/v3/__https://www.qemu.org/download/*source__;Iw!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtr_WV3xwg$
> > > ),
> > >  but unfortunately,
> > > I did not succeed in starting installation of Solaris 10 using QEMU.
> > >
> > >
> > > When I tried to boot the Solaris 10/64bit Sparc iso with this command:
> > >
> > >
> > > #qemu-system-sparc64 -m 3G -hda sparc10.img -cdrom
> > > sol-10-u10-ga2-sparc-dvd.iso -prom-env 'auto-boot?=false'
> > >
> > >
> > >
> > > I can't type anything in this console:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >  Can anyone confirm if Solaris 10/64bit Sparc is working
> > > with qemu-system-sparc64?  If not, what's the option to create a Solaris
> > > 10/64bit Sparc VM?
>
> In the upstream QEMU it's currently only possible with niagara (sun4v) target.
> The instructions here:
> 

Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

2021-02-02 Thread Artyom Tarasenko
On Tue, Feb 2, 2021 at 8:37 PM Gong, Zaiwen  wrote:
>
> Hi Artyom,
>
> Thank you very much for the quick reply. I really appreciate it.
>
> I followed your instructions:
> https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html
>
> Here is what I did:
>
> download 
> http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2
>  to my machine's folder /home/here/
> $ cd /home/here
> $ tar xfj OpenSPARCT1_Arch.1.5.tar.bz2 ./S10image
> $ /home/here/qemu-5.2.0/build/sparc64-softmmu/qemu-system-sparc64 -M niagara 
> -L /home/here/S10image/ -nographic -m 256 -drive 
> if=pflash,readonly=on,file=/home/here/S10image/disk.s10hw2
>
> Sun Fire T2000, No Keyboard
> Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
> OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
> [mo23723 obp4.20.0 #0]
> Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.
>
> ok boot –v
> <…>
> Hostname: unknown
> unknown console login: root
> Last login: Tue Feb  2 10:44:51 on console
> Sun Microsystems Inc.   SunOS 5.10  Generic January 2005
> # uname -a
> SunOS unknown 5.10 Generic_118822-23 sun4v sparc sun4v
> # df -kh
> Filesystem size   used  avail capacity  Mounted on
> /dev/dsk/c0t0d0s0  480M   232M   200M54%/
>
>
> So, I am now in a Solaris 10 Sparc machine so easily?

Yes. :-)

> Can you explain the big picture to me?

You are running emulated Solaris 10 on a sun4v partition.

> How could I configure inside/outside network?

That one is tricky. The emulated machine has no devices except for a
serial line. I think it should be possible to set up ppp over serial
or SLiP, but haven't tried it myself.

>And can I modify its filesystem size? I need much bigger filesystem.

Should be possible but I don't remember the details. Try to google on
the opensparc related projects.

> Actually, I don't really understand this line in your instruction:
> $ cd path/to/qemu-sun4v
>
> What is this path/to/qemu-sun4v? Do I miss anything?

You probably don't need this, it was for building qemu from my source
tree. Meanwhile the changes are in the upstream, so it's not
necessary.

>
> 
> From: Artyom Tarasenko 
> Sent: Tuesday, February 2, 2021 1:06 PM
> To: Philippe Mathieu-Daudé 
> Cc: Gong, Zaiwen ; qemu-discuss@nongnu.org 
> ; Mark Cave-Ayland 
> Subject: Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64
>
> On Tue, Feb 2, 2021 at 6:57 PM Philippe Mathieu-Daudé  wrote:
> >
> > Cc'ing Mark & Artyom.
> >
> > On 2/2/21 5:35 PM, Gong, Zaiwen wrote:
> > > Hi,
> > >
> > >
> > > I have successfully installed a Solaris 9/32bit Sparc VM
> > > using qemu-system-sparc.
> > >
> > >
> > > Now I am trying to install a Solaris 10/64bit Sparc VM
> > > using qemu-system-sparc64.
> > >
> > >
> > > I tried with QEMU emulator version 4.2.0 and 5.2.0
> > > (https://urldefense.com/v3/__https://www.qemu.org/download/*source__;Iw!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtr_WV3xwg$
> > > ),
> > >  but unfortunately,
> > > I did not succeed in starting installation of Solaris 10 using QEMU.
> > >
> > >
> > > When I tried to boot the Solaris 10/64bit Sparc iso with this command:
> > >
> > >
> > > #qemu-system-sparc64 -m 3G -hda sparc10.img -cdrom
> > > sol-10-u10-ga2-sparc-dvd.iso -prom-env 'auto-boot?=false'
> > >
> > >
> > >
> > > I can't type anything in this console:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >  Can anyone confirm if Solaris 10/64bit Sparc is working
> > > with qemu-system-sparc64?  If not, what's the option to create a Solaris
> > > 10/64bit Sparc VM?
>
> In the upstream QEMU it's currently only possible with niagara (sun4v) target.
> The instructions here:
> https://urldefense.com/v3/__https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html__;!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtrk7zANEQ$
> with a small update here:
> https://urldefense.com/v3/__https://tyom.blogspot.com/2016/11/sun4v-emulation-update.html__;!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtrwysZass$
>
> shall still be valid.
>
> Regards,
> Artyom



Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

2021-02-02 Thread zgong--- via
Hi Artyom,

Thank you very much for the quick reply. I really appreciate it.

I followed your instructions:
https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html

Here is what I did:

download 
http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2
 to my machine's folder /home/here/
$ cd /home/here
$ tar xfj OpenSPARCT1_Arch.1.5.tar.bz2 ./S10image
$ /home/here/qemu-5.2.0/build/sparc64-softmmu/qemu-system-sparc64 -M niagara -L 
/home/here/S10image/ -nographic -m 256 -drive 
if=pflash,readonly=on,file=/home/here/S10image/disk.s10hw2

Sun Fire T2000, No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
[mo23723 obp4.20.0 #0]
Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.

ok boot –v
<…>
Hostname: unknown
unknown console login: root
Last login: Tue Feb  2 10:44:51 on console
Sun Microsystems Inc.   SunOS 5.10  Generic January 2005
# uname -a
SunOS unknown 5.10 Generic_118822-23 sun4v sparc sun4v
# df -kh
Filesystem size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0  480M   232M   200M54%/

So, I am now in a Solaris 10 Sparc machine so easily? Can you explain the big 
picture to me?

How could I configure inside/outside network? And can I modify its filesystem 
size? I need much bigger filesystem.

Actually, I don't really understand this line in your instruction:
$ cd path/to/qemu-sun4v

What is this path/to/qemu-sun4v? Do I miss anything?

Thanks,
Zaiwen


From: Artyom Tarasenko 
Sent: Tuesday, February 2, 2021 1:06 PM
To: Philippe Mathieu-Daudé 
Cc: Gong, Zaiwen ; qemu-discuss@nongnu.org 
; Mark Cave-Ayland 
Subject: Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

On Tue, Feb 2, 2021 at 6:57 PM Philippe Mathieu-Daudé  wrote:
>
> Cc'ing Mark & Artyom.
>
> On 2/2/21 5:35 PM, Gong, Zaiwen wrote:
> > Hi,
> >
> >
> > I have successfully installed a Solaris 9/32bit Sparc VM
> > using qemu-system-sparc.
> >
> >
> > Now I am trying to install a Solaris 10/64bit Sparc VM
> > using qemu-system-sparc64.
> >
> >
> > I tried with QEMU emulator version 4.2.0 and 5.2.0
> > (https://urldefense.com/v3/__https://www.qemu.org/download/*source__;Iw!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtr_WV3xwg$
> > ),
> >  but unfortunately,
> > I did not succeed in starting installation of Solaris 10 using QEMU.
> >
> >
> > When I tried to boot the Solaris 10/64bit Sparc iso with this command:
> >
> >
> > #qemu-system-sparc64 -m 3G -hda sparc10.img -cdrom
> > sol-10-u10-ga2-sparc-dvd.iso -prom-env 'auto-boot?=false'
> >
> >
> >
> > I can't type anything in this console:
> >
> >
> >
> >
> >
> >
> >
> >  Can anyone confirm if Solaris 10/64bit Sparc is working
> > with qemu-system-sparc64?  If not, what's the option to create a Solaris
> > 10/64bit Sparc VM?

In the upstream QEMU it's currently only possible with niagara (sun4v) target.
The instructions here:
https://urldefense.com/v3/__https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html__;!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtrk7zANEQ$
with a small update here:
https://urldefense.com/v3/__https://tyom.blogspot.com/2016/11/sun4v-emulation-update.html__;!!P4SdNyxKAPE!TutolgI9tl_9NJbBYQB4Y4AF0LkX3bKXOfbHEe_YTQTQzU6UlKhCnDtrwysZass$

shall still be valid.

Regards,
Artyom


Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

2021-02-02 Thread Artyom Tarasenko
On Tue, Feb 2, 2021 at 6:57 PM Philippe Mathieu-Daudé  wrote:
>
> Cc'ing Mark & Artyom.
>
> On 2/2/21 5:35 PM, Gong, Zaiwen wrote:
> > Hi,
> >
> >
> > I have successfully installed a Solaris 9/32bit Sparc VM
> > using qemu-system-sparc.
> >
> >
> > Now I am trying to install a Solaris 10/64bit Sparc VM
> > using qemu-system-sparc64.
> >
> >
> > I tried with QEMU emulator version 4.2.0 and 5.2.0
> > (https://www.qemu.org/download/#source
> > ),
> >  but unfortunately,
> > I did not succeed in starting installation of Solaris 10 using QEMU.
> >
> >
> > When I tried to boot the Solaris 10/64bit Sparc iso with this command:
> >
> >
> > #qemu-system-sparc64 -m 3G -hda sparc10.img -cdrom
> > sol-10-u10-ga2-sparc-dvd.iso -prom-env 'auto-boot?=false'
> >
> >
> >
> > I can't type anything in this console:
> >
> >
> >
> >
> >
> >
> >
> >  Can anyone confirm if Solaris 10/64bit Sparc is working
> > with qemu-system-sparc64?  If not, what's the option to create a Solaris
> > 10/64bit Sparc VM?

In the upstream QEMU it's currently only possible with niagara (sun4v) target.
The instructions here:
https://tyom.blogspot.com/2016/10/qemu-sun4vniagara-target-went-public.html
with a small update here:
https://tyom.blogspot.com/2016/11/sun4v-emulation-update.html

shall still be valid.

Regards,
Artyom



Re: Create Solaris 10/64bit Sparc VM using qemu-system-sparc64

2021-02-02 Thread Philippe Mathieu-Daudé
Cc'ing Mark & Artyom.

On 2/2/21 5:35 PM, Gong, Zaiwen wrote:
> Hi,
> 
> 
> I have successfully installed a Solaris 9/32bit Sparc VM
> using qemu-system-sparc. 
> 
> 
> Now I am trying to install a Solaris 10/64bit Sparc VM
> using qemu-system-sparc64. 
> 
> 
> I tried with QEMU emulator version 4.2.0 and 5.2.0
> (https://www.qemu.org/download/#source
> ),
>  but unfortunately,
> I did not succeed in starting installation of Solaris 10 using QEMU. 
> 
> 
> When I tried to boot the Solaris 10/64bit Sparc iso with this command:
> 
> 
> #qemu-system-sparc64 -m 3G -hda sparc10.img -cdrom
> sol-10-u10-ga2-sparc-dvd.iso -prom-env 'auto-boot?=false'
> 
>  
> 
> I can't type anything in this console:
> 
>  
> 
>           
> 
>  
> 
>  Can anyone confirm if Solaris 10/64bit Sparc is working
> with qemu-system-sparc64?  If not, what's the option to create a Solaris
> 10/64bit Sparc VM?
> 
> 
> Thanks,
> 
> Zaiwen
> 
> 




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

2021-02-02 Thread Dr. David Alan Gilbert
* Damir Chanyshev (conflict...@gmail.com) wrote:
> 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.

That's a fun error; I've not seen anyone manage to trigger that before.

Could you please post the qemu command line from both the source and the
destination?

My guess here is that the use of huge pages is different on the source
and destination;  when the destination is using huge pages it will read
the page size of the block from the stream and compare it to the page
size it's using - they should match (if postcopy is enabled).

To me it looks like the destination is using 2MB huge pages
(probably explicitly from something like /dev/hugepages)
and maybe the source isn't; the source (because it's not using
hugepages) didn't bother sending the page size, so the destination
then reads some junk off the stream; that junk is probably the name
of the next RAMBlock, and it's probably a PCI device, so that
huge number is hex 15303030303A3030 which is 21 bytes long
and is:
  :00

which looks like the start of a PCI address; maybe for video RAM.

Or in a simple answer; if you've got postcopy enabled, and you're
using hugepages, make sure you use them consistently on source
and destination.

Dave

> -- 
> Thanks,
> Damir Chanyshev
> 
-- 
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK




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

2021-02-02 Thread Peter Maydell
On Tue, 2 Feb 2021 at 14:21, Damir Chanyshev  wrote:
>
> вт, 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 for confirming. Looking again at the message, the
value the destination thinks it got for the hugepages size
(1526773257204281392) is 15303030303A3030 in hex, which is
really suspicious as a value (it's got lots of ascii-range
values in it). Something has probably got confused about
where in the migration-data-stream it is...

thanks
-- PMM



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

2021-02-02 Thread Jakob Bohm

On 2021-02-02 15:21, Damir Chanyshev wrote:

вт, 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.

Is the large number an ASCII string mistaken for a binary number?

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded




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



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

2021-02-02 Thread Peter Maydell
On Tue, 2 Feb 2021 at 13:53, Damir Chanyshev  wrote:
>
> 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

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



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