On Mon, Feb 02, 2015 at 06:06:15PM +0000, Ian Jackson wrote: > Wei Liu writes ("Re: [Xen-devel] [PATCH RFC] libxl: set disk defaults in > remove/destroy functions"): > > On Mon, Feb 02, 2015 at 04:38:00PM +0000, Ian Jackson wrote: > > > libxl_device_disk_remove should definitely not require the caller to > > > do what xl currently does. > > > > I come up with something like this (only compile tested). > > Something like this perhaps, yes. Although it seems to have rather > too much similarity with parts of libxl__device_disk_from_xs_be... >
I wanted to refactor those bits but I couldn't come up with a sensible function name. I'm particularly bad at naming things. :-( If you come up with a name I can factor those bits out. Wei. > Ian. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel