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

Re: [Xen-devel] [PATCH v4] libxl: introduce LIBXL_DOMAIN_TYPE_INVALID

Ian Campbell writes ("Re: [PATCH v4] libxl: introduce 
> so having arranged to call that function at the right time we can assume
> that type is a sensible value, and indeed setdefault makes this the
> case.


The other situation where we can get _INVALID is if libxl__domain_type
fails, which it can do.

I think this should be handled by having places which call
libxl__domain_type abandon operation and return an error if the
libxl__domain_type fails.

If this is done, then general variables, parameters, etc. within libxl
which are supposed to contain a libxl_domain_type will never contain


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.