* Richard Henderson (r...@twiddle.net) wrote:
> On 09/25/2017 06:29 AM, Dr. David Alan Gilbert (git) wrote:
> > Modify the pre_save method on VMStateDescription to return an int
> > rather than void so that it potentially can fail.
> 
> What does the int value signify?

0 is success, anything else is a failure; typically -errno.

> Why not a bool?

Consistency with pre_load, post_load, put and get methods
that are already int.

Dave

> 
> r~
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Reply via email to