[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 06/17] libxl_qmp: Implementation of libxl__ev_qmp_*
Anthony PERARD writes ("Re: [PATCH v8 06/17] libxl_qmp: Implementation of libxl__ev_qmp_*"): > On Fri, Jan 11, 2019 at 12:06:07PM +0000, Ian Jackson wrote: > > Doesn't this want to be > > + assert(r > 0 && r <= max_write); > > Yes, I think that would be fine. I guess that would catch issue where > max_write is 0 (so trying to write 0 bytes). I was thinking of situations where the open-file referred to by fd has been put into a funny state which leads to write() returning 0. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |