Peter Maydell 98db429d2c ui/cocoa: Fix code for starting QEMU via image file load dialog
Fix a number of bugs in the code for starting QEMU via the image
file load dialog:
 * use the actual argv[0] rather than "qemu": this avoids failures to
   find BIOS image files caused by not looking in the correct directory
   relative to the executable path
 * allocate a large enough argv array to NULL terminate it
 * use g_strdup(X) rather than g_strdup_printf("%s", X) or
   g_strdup_printf(X)
 * disable the printing of the simulated command line argument
   (which is presumably intended for debug only)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1386543546-31919-6-git-send-email-peter.maydell@linaro.org
2014-01-12 22:27:10 +00:00
2013-12-06 08:55:42 +01:00
2013-11-25 20:35:28 -08:00
2013-12-06 08:55:42 +01:00
2013-12-21 16:41:56 +01:00
2013-12-02 21:02:57 +04:00
2014-01-08 19:07:20 +00:00
2013-12-20 16:26:16 +01:00
2014-01-10 11:04:31 -08:00
2013-12-23 15:32:36 +01:00
2013-12-04 15:19:00 +01:00
2013-12-04 15:19:00 +01:00
2013-11-27 14:02:45 -08:00

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

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%