[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxenlight: add error in disk_add if phystype is not recognized
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1263462126 0 # Node ID 7a412f9f6aae72add9d1e68530064b4b911e9425 # Parent fd8707f8698d6cc101332187bf080827826a460e libxenlight: add error in disk_add if phystype is not recognized Signed-off-by: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx> --- tools/libxl/libxl.c | 3 +++ 1 files changed, 3 insertions(+) diff -r fd8707f8698d -r 7a412f9f6aae tools/libxl/libxl.c --- a/tools/libxl/libxl.c Thu Jan 14 09:41:34 2010 +0000 +++ b/tools/libxl/libxl.c Thu Jan 14 09:42:06 2010 +0000 @@ -1162,6 +1162,9 @@ int libxl_device_disk_add(struct libxl_c device.backend_kind = DEVICE_TAP; break; + default: + XL_LOG(ctx, XL_LOG_ERROR, "unrecognized disk physical type: %d\n", disk->phystype); + return ERROR_INVAL; } flexarray_set(back, boffset++, "frontend-id"); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |