From: Ian Jackson Date: Wed, 30 Jul 2008 10:52:03 +0000 (+0100) Subject: Register block drivers before reading xenstore. X-Git-Tag: xen-3.3.0-rc2~6 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e8c0631fcdfd5e889ef786e40c72befe9ed2dadd;p=qemu-xen-3.3-testing.git Register block drivers before reading xenstore. Without this, cow images do not work. Part of the fix to http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1304. Thanks to report from Intel. --- diff --git a/vl.c b/vl.c index 2c9d8c47..06c411d4 100644 --- a/vl.c +++ b/vl.c @@ -8698,11 +8698,11 @@ int main(int argc, char **argv) } #endif + bdrv_init(); + xc_handle = xc_interface_open(); xenstore_parse_domain_config(domid); - bdrv_init(); - /* we always create the cdrom drive, even if no disk is there */ #ifndef CONFIG_DM