# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1199480010 28800
# Node ID c16905cea2137a9fb6275883550e08e1f83f2cc1
# Parent 2cdaa36e4a78c8013ca4a8b58d4796d5e2012a68
Make 'driver' not a required field, since it's not
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 2cdaa36e4a78 -r c16905cea213 libxkutil/device_parsing.c
--- a/libxkutil/device_parsing.c Fri Jan 04 12:53:30 2008 -0800
+++ b/libxkutil/device_parsing.c Fri Jan 04 12:53:30 2008 -0800
@@ -161,7 +161,7 @@ static int parse_disk_device(xmlNode *dn
goto err;
}
}
- if (! (ddev->driver && ddev->source &&
ddev->virtual_dev))
+ if (! (ddev->source && ddev->virtual_dev))
goto err;
vdev->type = VIRT_DEV_DISK;
vdev->id = strdup(ddev->virtual_dev);