From e8c0631fcdfd5e889ef786e40c72befe9ed2dadd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 30 Jul 2008 11:52:03 +0100 Subject: [PATCH] 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. --- vl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5