[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.8 v2 1/3] scripts: Allow block module to not d
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH for-2.8 v2 1/3] scripts: Allow block module to not define BlockDriver |
Date: |
Tue, 16 Aug 2016 15:59:06 +0800 |
Signed-off-by: Fam Zheng <address@hidden>
---
scripts/modules/module_block.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/scripts/modules/module_block.py b/scripts/modules/module_block.py
index db4fb54..7efec00 100644
--- a/scripts/modules/module_block.py
+++ b/scripts/modules/module_block.py
@@ -56,11 +56,6 @@ def process_file(fheader, filename):
format_name = ""
protocol_name = ""
- if not found_something:
- print("No BlockDriver struct found in " + filename + ". \
- Is this really a module?", file=sys.stderr)
- sys.exit(1)
-
def print_top(fheader):
fheader.write('''/* AUTOMATICALLY GENERATED, DO NOT MODIFY */
/*
--
2.7.4