Igor Mammedov d76fddaeee cpu: Fix qemu_get_cpu() to return NULL if CPU not found
Commit 55e5c2850 breaks CPU not found return value, and returns
CPU corresponding to the last non NULL env.
Fix it by returning CPU only if env is not NULL, otherwise CPU is
not found and function should return NULL.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-03-12 10:35:53 +01:00
2013-03-05 17:51:51 +01:00
2013-03-11 07:39:47 -05:00
2013-03-11 13:32:03 +01:00
2012-12-19 08:29:06 +01:00
2013-02-28 09:19:00 +01:00
2012-10-24 10:26:22 +02:00
2013-02-28 09:19:00 +01:00
2013-03-04 09:54:17 +01:00
2012-09-07 09:02:44 +03:00
2013-02-21 10:38:07 +01:00
2012-11-01 13:10:06 +01:00
…
2013-02-21 16:17:31 -06:00
2013-03-11 13:32:03 +01:00
2013-02-21 16:17:31 -06:00
…
…
…
2013-02-16 10:45:19 +00:00
2013-02-16 14:50:59 +01:00
2013-03-04 09:54:17 +01:00
2013-02-27 16:10:47 +01:00
2013-02-21 16:17:31 -06:00
…
2013-03-08 21:17:46 +01:00
2013-02-16 11:12:13 +00:00
2013-03-11 13:32:03 +01:00
2013-03-11 13:32:03 +01:00
2013-03-10 19:26:22 -05:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:29:42 +01:00
2013-02-22 21:29:43 +01:00
2013-02-22 21:29:43 +01:00
…
2013-02-18 08:39:10 -06:00
…
2013-02-15 17:40:56 -06:00
2013-01-15 04:09:14 +01:00

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

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
715 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%