Re: [Qemu-devel] [PATCH v2] vmstate: check subsection_found is enough

2019-05-14 Thread Dr. David Alan Gilbert
* Wei Yang (richardw.y...@linux.intel.com) wrote: > subsection_found is true implies vmdesc is not NULL. > > This patch remove the additional check on vmdesc and rename > subsection_found to vmdesc_has_subsections to make it more self-explain. > > Signed-off-by: Wei Yang Queued. > --- > v2: >

Re: [Qemu-devel] [PATCH v2] vmstate: check subsection_found is enough

2019-04-03 Thread Dr. David Alan Gilbert
* Wei Yang (richardw.y...@linux.intel.com) wrote: > subsection_found is true implies vmdesc is not NULL. > > This patch remove the additional check on vmdesc and rename > subsection_found to vmdesc_has_subsections to make it more self-explain. > > Signed-off-by: Wei Yang Thanks, Reviewed-by: D

Re: [Qemu-devel] [PATCH v2] vmstate: check subsection_found is enough

2019-04-03 Thread Stefano Garzarella
On Wed, Apr 03, 2019 at 09:10:16AM +0800, Wei Yang wrote: > subsection_found is true implies vmdesc is not NULL. > > This patch remove the additional check on vmdesc and rename > subsection_found to vmdesc_has_subsections to make it more self-explain. > > Signed-off-by: Wei Yang > > --- > v2: >

[Qemu-devel] [PATCH v2] vmstate: check subsection_found is enough

2019-04-02 Thread Wei Yang
subsection_found is true implies vmdesc is not NULL. This patch remove the additional check on vmdesc and rename subsection_found to vmdesc_has_subsections to make it more self-explain. Signed-off-by: Wei Yang --- v2: * rename it to vmdesc_has_subsections --- migration/vmstate.c | 8