summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/files/03_machines_list_no_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/qemu/files/03_machines_list_no_error.patch')
-rw-r--r--meta/packages/qemu/files/03_machines_list_no_error.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/qemu/files/03_machines_list_no_error.patch b/meta/packages/qemu/files/03_machines_list_no_error.patch
new file mode 100644
index 0000000000..73f31550fe
--- /dev/null
+++ b/meta/packages/qemu/files/03_machines_list_no_error.patch
@@ -0,0 +1,18 @@
1#DPATCHLEVEL=0
2---
3# vl.c | 2 +-
4# 1 file changed, 1 insertion(+), 1 deletion(-)
5#
6Index: vl.c
7===================================================================
8--- vl.c.orig 2007-06-13 11:51:52.000000000 +0100
9+++ vl.c 2007-06-13 11:52:24.000000000 +0100
10@@ -7242,7 +7242,7 @@ int main(int argc, char **argv)
11 m->name, m->desc,
12 m == first_machine ? " (default)" : "");
13 }
14- exit(1);
15+ exit(strcmp(optarg, "?"));
16 }
17 break;
18 case QEMU_OPTION_cpu: