[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] minios, blkfront: set default block path.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1200995175 0 # Node ID 623d668b3029e8c584cbb56c909ef7746c9cba3f # Parent 5f3c236d1711aa86143c82e6b8df7c23f04db382 minios, blkfront: set default block path. remove unnecessary path head stripping. Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> --- extras/mini-os/blkfront.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 5f3c236d1711 -r 623d668b3029 extras/mini-os/blkfront.c --- a/extras/mini-os/blkfront.c Tue Jan 22 09:45:54 2008 +0000 +++ b/extras/mini-os/blkfront.c Tue Jan 22 09:46:15 2008 +0000 @@ -71,8 +71,8 @@ struct blkfront_dev *init_blkfront(char struct blkfront_dev *dev; - ASSERT(!strncmp(nodename, "/local/domain/", 14)); - nodename = strchr(nodename + 14, '/') + 1; + if (!nodename) + nodename = "device/vbd/768"; char path[strlen(nodename) + 1 + 10 + 1]; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |