qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 5/7] vhost: Regenerate region list from chang


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH v5 5/7] vhost: Regenerate region list from changed sections list
Date: Thu, 28 Dec 2017 14:03:23 +0100

On Wed, 27 Dec 2017 14:19:03 +0100
Igor Mammedov <address@hidden> wrote:

> On Mon, 18 Dec 2017 20:13:38 +0000
> "Dr. David Alan Gilbert (git)" <address@hidden> wrote:
> 
> > From: "Dr. David Alan Gilbert" <address@hidden>
> > 
> > Compare the sections list that's just been generated, and if it's
> > different from the old one regenerate the region list.
> > 
> > Signed-off-by: Dr. David Alan Gilbert <address@hidden>
> > ---
[...]
> 
> > +    if (!dev->started) {
> also why memmap is generated this early and not right before first use?
> here we might generate memap but not actually use it.
I retract question, as commit + follow up set_mem_table could happen before
device is started. Having a comment here explaining it would be nice as
the call flow is obvious.


> >          goto out;
> >      }
> >  
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]