|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel][PATCH]qemu:fix up qcow2 can not boot up
The follow code is deleted by the merge from stable_0_10, and this will cause
qcow2 cannot boot up.
Signed-off-by: Yang Zhang <yang.zhang@xxxxxxxxx>
diff --git a/block.c b/block.c
index 8a0e8b2..d3a7b9b 100644
--- a/block.c
+++ b/block.c
@@ -405,6 +405,7 @@ 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);
+ drv = &bdrv_raw;
} else if (!drv) {
drv = find_image_format(filename);
}
fix_up_qcow2_cannot_boot.patch
Description: fix_up_qcow2_cannot_boot.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel][PATCH]qemu:fix up qcow2 can not boot up,
Zhang, Yang <=
|
|
|
|
|