There is nothing specific to qemu in the --no flag,
but it was on the qemu group. Let's move it to
the general group.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 run | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/run b/run
index 2eb0893..da0ad0a 100755
--- a/run
+++ b/run
@@ -224,6 +224,11 @@ class VirtTestRunParser(optparse.OptionParser):
                            default="1024",
                            help=("RAM dedicated to the main VM. Default:"
                                  "%default"))
+        general.add_option("--no", action="store", dest="no_filter", 
default="",
+                           help=("List of space separated no filters to be "
+                                 "passed to the config parser. If -c is "
+                                 "provided, this will be ignored"))
+
         self.add_option_group(general)
 
         qemu = optparse.OptionGroup(self, 'Options specific to the qemu test')
@@ -276,10 +281,6 @@ class VirtTestRunParser(optparse.OptionParser):
                               " ".join(SUPPORTED_DISK_BUSES) +
                               ". If -c is provided, this will be ignored. "
                               "Default: %default"))
-        qemu.add_option("--no", action="store", dest="no_filter", default="",
-                        help=("List of space separated no filters to be "
-                              "passed to the config parser. If -c is "
-                              "provided, this will be ignored"))
         self.add_option_group(qemu)
 
 
-- 
1.8.1.2

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to