[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [TCG only][Migration Bug? ] Occasionally, the content o
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [TCG only][Migration Bug? ] Occasionally, the content of VM's memory is inconsistent between Source and Destination of migration |
Date: |
Thu, 17 Dec 2015 11:37:43 +0530 |
On (Fri) 04 Dec 2015 [01:43:07], Li, Liang Z wrote:
> >
> > Thanks for describing how to reproduce the bug.
> > If some pages are not transferred to destination then it is a bug, so we
> > need
> > to know what the problem is, notice that the problem can be that TCG is not
> > marking dirty some page, that Migration code "forgets" about that page, or
> > anything eles altogether, that is what we need to find.
> >
> > There are more posibilities, I am not sure that memtest is on 32bit mode,
> > and
> > it is inside posibility that we are missing some state when we are on real
> > mode.
> >
> > Will try to take a look at this.
> >
> > THanks, again.
> >
>
> Hi Juan & Amit
>
> Do you think we should add a mechanism to check the data integrity during LM
> like Zhijian's patch did? it may be very helpful for developers.
> Actually, I did the similar thing before in order to make sure that I did
> the right thing we I change the code related to LM.
If you mean for debugging, something that's not always on, then I'm
fine with it.
A script that goes along that shows the result of comparison of the
diff will be helpful too, something that shows how many pages are
differnt, how many bytes in a page on average, and so on.
Amit