On Thu, Jul 28, 2016 at 07:50:52AM +, Li, Liang Z wrote:
> > > }
> > >
> > > +static void update_free_pages_stats(struct virtio_balloon *vb,
> >
> > why _stats?
>
> Will change.
>
> > > + max_pfn = get_max_pfn();
> > > + mutex_lock(>balloon_lock);
> > > + while (pfn < max_pfn) {
> > > +
> > }
> >
> > +static void update_free_pages_stats(struct virtio_balloon *vb,
>
> why _stats?
Will change.
> > + max_pfn = get_max_pfn();
> > + mutex_lock(>balloon_lock);
> > + while (pfn < max_pfn) {
> > + memset(vb->page_bitmap, 0, vb->bmap_len);
> > + ret =
On Wed, Jul 27, 2016 at 09:23:36AM +0800, Liang Li wrote:
> Support the request for vm's free page information, response with
> a page bitmap. QEMU can make use of this free page bitmap to speed
> up live migration process by skipping process the free pages.
>
> Signed-off-by: Liang Li