qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] vl.c: call bdrv_init_with_whitelist() before cmdline parsing
@ 2013-03-21 12:07 Peter Lieven
  2013-03-21 12:07 ` [Qemu-devel] [PATCH 2/2] vl.c: throw an error if iscsi is not supported Peter Lieven
  2013-03-25 14:09 ` [Qemu-devel] [PATCH 1/2] vl.c: call bdrv_init_with_whitelist() before cmdline parsing Stefan Hajnoczi
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Lieven @ 2013-03-21 12:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Lieven

commit 4d454574 "qemu-option: move standard option definitions
out of qemu-config.c" broke support for commandline option
groups that where registered during bdrv_init(). In particular
support for -iscsi options was broken since that commit.

Fix by moving the bdrv_init_with_whitelist() before command
line argument parsing.

Signed-off-by: Peter Lieven <pl@kamp.de>
---
 vl.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vl.c b/vl.c
index aeed7f4..315d43d 100644
--- a/vl.c
+++ b/vl.c
@@ -2935,6 +2935,8 @@ int main(int argc, char **argv, char **envp)
 
     nb_numa_nodes = 0;
     nb_nics = 0;
+    
+    bdrv_init_with_whitelist();
 
     autostart= 1;
 
@@ -4194,8 +4196,6 @@ int main(int argc, char **argv, char **envp)
 
     cpu_exec_init_all();
 
-    bdrv_init_with_whitelist();
-
     blk_mig_init();
 
     /* open the virtual block devices */
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-26  9:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-21 12:07 [Qemu-devel] [PATCH 1/2] vl.c: call bdrv_init_with_whitelist() before cmdline parsing Peter Lieven
2013-03-21 12:07 ` [Qemu-devel] [PATCH 2/2] vl.c: throw an error if iscsi is not supported Peter Lieven
2013-03-25 14:00   ` Stefan Hajnoczi
2013-03-25 14:10     ` Peter Lieven
2013-03-25 14:34       ` Peter Maydell
2013-03-26  9:26         ` Stefan Hajnoczi
2013-03-25 14:09 ` [Qemu-devel] [PATCH 1/2] vl.c: call bdrv_init_with_whitelist() before cmdline parsing Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).