Hi
The previous patch is wrong,please drop it. This is the right one.
The follow code is deleted by the merge from stable_0_10,
this will cause qcow2 cannot boot up.
Signed-off-by: Yang Zhang <yang.zhang@intel.com>
diff --git a/block.c b/block.c
index 8a0e8b2..36f5eb9 100644
--- a/block.c
+++ b/block.c
@@ -405,6 +405,8 @@ int bdrv_open2(BlockDriverState *bs, const char *filename,
int flags,
pstrcpy(bs->filename, sizeof(bs->filename), filename);
if (flags & BDRV_O_FILE) {
drv = find_protocol(filename);
+ if (!drv)
+ drv = &bdrv_raw;
} else if (!drv) {
drv = find_image_format(filename);
}
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel