more solidification work around return values in stubdom, invalid device kinds, and fix name to domid. nothing ground breaking but quite nice to have. Vincent Hanquez (5): add some return values testing in stubdom initialize enum to 1, to prevent defaulting to the 0 values when structure when not properly initialized by the client. add fuse around generic_device_add related to invalid kinds add error in disk_add if phystype is not recognized fix name to domid conversion. tools/libxl/libxl.c | 38 ++++++++++++++++++++++++++++---------- tools/libxl/libxl.h | 6 +++--- tools/libxl/libxl_device.c | 5 ++++- tools/libxl/libxl_internal.h | 4 ++-- tools/libxl/libxl_utils.c | 33 +++++++++++---------------------- tools/libxl/xl.c | 4 +--- 6 files changed, 49 insertions(+), 41 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-13 16:14 UTC
[Xen-devel] [PATCH 1/5] add some return values testing in stubdom
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/libxl.c | 35 +++++++++++++++++++++++++---------- 1 files changed, 25 insertions(+), 10 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-13 16:14 UTC
[Xen-devel] [PATCH 2/5] initialize enum to 1, to prevent defaulting to the 0 values when structure when not properly initialized by the client.
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/libxl.h | 6 +++--- tools/libxl/libxl_internal.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-13 16:14 UTC
[Xen-devel] [PATCH 3/5] add fuse around generic_device_add related to invalid kinds
prevent segfault in case the backend or frontend kinds have not been set to a correct kind value (or not initilized). Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/libxl_device.c | 5 ++++- tools/libxl/libxl_internal.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-13 16:14 UTC
[Xen-devel] [PATCH 4/5] add error in disk_add if phystype is not recognized
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/libxl.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jan-13 16:14 UTC
[Xen-devel] [PATCH 5/5] fix name to domid conversion.
also simplify massively the function that iterate over all domains to find the corresponding domid to a name. Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/libxl/libxl_utils.c | 33 +++++++++++---------------------- tools/libxl/xl.c | 4 +--- 2 files changed, 12 insertions(+), 25 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel