Dunrong Huang fb7c269ed6 vl.c: Exit QEMU early if no machine is found
We check whether the variable machine is NULL or not before accessing
it. If machine is NULL, exit QEMU with an error, this can avoids a
segfault error.

Markus Armbruster <armbru@redhat.com> adds that the segfault can be
reproduced as follows:

  $ qemu-system-xtensa -cpu help

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-08-10 14:28:11 +01:00
2012-08-06 22:39:14 +02:00
2012-06-21 20:04:24 +00:00
2012-06-18 15:32:45 +02:00
2012-08-09 18:34:57 +00:00
2012-07-23 11:55:17 +01:00
2012-08-09 18:34:57 +00:00
2012-08-06 19:31:55 -05:00
2012-07-10 18:27:33 +02:00
2012-07-07 09:04:42 +00:00
2011-11-07 10:57:36 -06:00
2012-04-19 16:51:47 +02:00
2011-12-02 10:50:57 +00:00
2012-08-04 15:51:23 +00:00
2012-08-06 22:39:14 +02:00
2011-09-16 08:26:31 -05:00
2012-01-13 10:37:00 +00:00
2012-05-14 07:27:24 +02:00
2012-02-09 16:17:51 +01:00
2012-03-12 10:30:23 +00:00
2012-06-29 13:31:07 +02:00
2012-08-02 18:12:17 +02:00
2012-03-30 08:14:11 -05:00
2012-05-12 09:14:38 +00:00
2012-01-10 09:36:43 +01:00
2012-03-07 13:03:51 +00:00
2012-07-26 17:44:08 +02:00
2012-04-01 20:30:23 +02:00
2012-03-14 22:20:27 +01:00
2012-07-28 09:23:11 +00:00
2012-03-14 22:20:27 +01:00
2012-07-23 11:55:17 +01:00
2012-07-23 11:55:17 +01:00
2012-06-25 15:37:15 +02:00
2011-12-02 10:50:57 +00:00
2012-08-03 14:25:22 +01:00
2012-07-27 21:13:04 +00:00
2012-03-14 22:20:27 +01:00
2012-08-03 10:10:55 -03:00
2012-07-13 13:46:55 -03:00
2011-12-02 10:50:57 +00:00
2012-05-08 14:30:09 -03:00
2011-10-16 13:13:05 +02:00
2012-03-19 15:17:21 +02:00
2011-12-09 11:25:22 +00:00
2011-12-02 10:50:57 +00:00
2012-05-10 08:33:34 -05:00
2012-03-15 10:39:52 -03:00
2012-06-29 13:27:28 +02:00
2012-02-15 09:39:21 -06:00
2012-07-19 11:34:32 +01:00
2012-02-17 08:33:32 -06:00
2012-02-17 08:33:32 -06:00
2012-08-03 18:28:37 -05:00
2012-07-10 18:27:33 +02:00
2012-01-13 10:55:56 -06:00
2012-01-10 18:23:58 +01:00
2012-04-07 14:00:45 +00:00
2012-01-10 18:23:58 +01:00
2012-02-03 10:41:08 -06:00
2012-07-14 11:53:03 +00:00
2012-07-14 11:53:03 +00:00
2012-04-15 21:25:16 +02:00
2012-04-07 14:00:45 +00:00
2011-12-15 09:20:50 -06:00
2011-12-06 10:07:04 +00:00
2012-06-21 18:45:18 +00:00
2012-05-08 14:30:09 -03:00
2012-04-24 09:50:31 -05:00
2011-12-11 17:50:43 -06:00
2011-10-01 09:31:08 +00:00
2012-03-14 22:20:27 +01:00
2011-10-31 21:52:17 +01:00
2012-06-22 10:34:21 +01:00
2012-08-09 18:34:57 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 569 MiB
Languages
C 83%
C++ 6.3%
Python 3.2%
Dylan 2.9%
Shell 1.6%
Other 2.8%