From: Amit Shah <amit.shah@redhat.com>
To: "Li, Liang Z" <liang.z.li@intel.com>
Cc: zhanghailiang <zhang.zhanghailiang@huawei.com>,
Li Zhijian <lizhijian@cn.fujitsu.com>,
"quintela@redhat.com" <quintela@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>,
"david@gibson.dropbear.id.au" <david@gibson.dropbear.id.au>
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 [thread overview]
Message-ID: <20151217060743.GA6747@grmbl.mre> (raw)
In-Reply-To: <F2CBF3009FA73547804AE4C663CAB28E0237B7B5@SHSMSX101.ccr.corp.intel.com>
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
prev parent reply other threads:[~2015-12-17 6:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 7:32 [Qemu-devel] [TCG only][Migration Bug? ] Occasionally, the content of VM's memory is inconsistent between Source and Destination of migration Li Zhijian
2015-12-03 9:24 ` Dr. David Alan Gilbert
2015-12-03 9:37 ` Hailiang Zhang
2015-12-03 10:23 ` Li Zhijian
2015-12-03 10:23 ` Li Zhijian
2015-12-03 11:22 ` Dr. David Alan Gilbert
2015-12-03 11:20 ` Juan Quintela
2015-12-04 1:43 ` Li, Liang Z
2015-12-17 6:07 ` Amit Shah [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151217060743.GA6747@grmbl.mre \
--to=amit.shah@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=dgilbert@redhat.com \
--cc=liang.z.li@intel.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=zhang.zhanghailiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).