Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-08 Thread Li, Liang Z
> > > > Hi Liang, > > > > I should be able to look into it this week if you help me with testing. > > > > Thanks, > > Ladi > > Please try the attached patch. I have tested it with a simple 'migrate' to > save > the state and then '-incoming' to load it back. > Thanks for your work. I have

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-04 Thread Ladi Prosek
On Thu, Aug 4, 2016 at 6:01 PM, Michael S. Tsirkin wrote: > On Thu, Aug 04, 2016 at 05:14:14PM +0200, Ladi Prosek wrote: >> On Wed, Aug 3, 2016 at 9:25 AM, Ladi Prosek wrote: >> > On Tue, Aug 2, 2016 at 2:11 AM, Michael S. Tsirkin wrote: >>

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-04 Thread Michael S. Tsirkin
On Thu, Aug 04, 2016 at 05:14:14PM +0200, Ladi Prosek wrote: > On Wed, Aug 3, 2016 at 9:25 AM, Ladi Prosek wrote: > > On Tue, Aug 2, 2016 at 2:11 AM, Michael S. Tsirkin wrote: > >> On Mon, Aug 01, 2016 at 11:59:31PM +, Li, Liang Z wrote: > >>> > On Wed,

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-04 Thread Ladi Prosek
On Wed, Aug 3, 2016 at 9:25 AM, Ladi Prosek wrote: > On Tue, Aug 2, 2016 at 2:11 AM, Michael S. Tsirkin wrote: >> On Mon, Aug 01, 2016 at 11:59:31PM +, Li, Liang Z wrote: >>> > On Wed, Jul 06, 2016 at 12:49:06PM +, Li, Liang Z wrote: >>> > > > > > >

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-03 Thread Ladi Prosek
On Tue, Aug 2, 2016 at 2:11 AM, Michael S. Tsirkin wrote: > On Mon, Aug 01, 2016 at 11:59:31PM +, Li, Liang Z wrote: >> > On Wed, Jul 06, 2016 at 12:49:06PM +, Li, Liang Z wrote: >> > > > > > > After live migration, 'guest-stats' can't get the expected >> > > > > > >

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-01 Thread Michael S. Tsirkin
On Mon, Aug 01, 2016 at 11:59:31PM +, Li, Liang Z wrote: > > On Wed, Jul 06, 2016 at 12:49:06PM +, Li, Liang Z wrote: > > > > > > > After live migration, 'guest-stats' can't get the expected > > > > > > > memory status in the guest. This issue is caused by commit > > 4eae2a657d. > > > > >

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-08-01 Thread Li, Liang Z
> On Wed, Jul 06, 2016 at 12:49:06PM +, Li, Liang Z wrote: > > > > > > After live migration, 'guest-stats' can't get the expected > > > > > > memory status in the guest. This issue is caused by commit > 4eae2a657d. > > > > > > The value of 's->stats_vq_elem' will be NULL after live > > > > > >

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-07-06 Thread Michael S. Tsirkin
On Wed, Jul 06, 2016 at 12:49:06PM +, Li, Liang Z wrote: > > > > > After live migration, 'guest-stats' can't get the expected memory > > > > > status in the guest. This issue is caused by commit 4eae2a657d. > > > > > The value of 's->stats_vq_elem' will be NULL after live migration, > > > > >

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-07-06 Thread Li, Liang Z
> > > > After live migration, 'guest-stats' can't get the expected memory > > > > status in the guest. This issue is caused by commit 4eae2a657d. > > > > The value of 's->stats_vq_elem' will be NULL after live migration, > > > > and the check in the function 'balloon_stats_poll_cb()' will > > > >

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-07-06 Thread Michael S. Tsirkin
On Wed, Jul 06, 2016 at 09:23:46AM +, Li, Liang Z wrote: > > On Wed, Jul 06, 2016 at 10:36:33AM +0800, Liang Li wrote: > > > After live migration, 'guest-stats' can't get the expected memory > > > status in the guest. This issue is caused by commit 4eae2a657d. > > > The value of

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-07-06 Thread Li, Liang Z
> On Wed, Jul 06, 2016 at 10:36:33AM +0800, Liang Li wrote: > > After live migration, 'guest-stats' can't get the expected memory > > status in the guest. This issue is caused by commit 4eae2a657d. > > The value of 's->stats_vq_elem' will be NULL after live migration, and > > the check in the

Re: [Qemu-devel] [PATCH v2] balloon: Fix failure of updating guest memory status

2016-07-06 Thread Michael S. Tsirkin
On Wed, Jul 06, 2016 at 10:36:33AM +0800, Liang Li wrote: > After live migration, 'guest-stats' can't get the expected memory > status in the guest. This issue is caused by commit 4eae2a657d. > The value of 's->stats_vq_elem' will be NULL after live migration, > and the check in the function