Re: [Qemu-devel] Android Goldfish on QEMU
On 2012-05-30 04:19, 陳韋任 (Wei-Ren Chen) wrote: Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? It's still the base of the emulator you get with current SDKs. FWIW, latest AOSP (today's git checkout) built for the vbox_x86-eng target runs nicely in QEMU/KVM (using the intermediate disk image android_disk.img). So, adding device models to improve this environment would likely be more helpful to provide a first alternative to the Android emulator. And it's likely a lower hanging fruit. And a much sweeter one (KVM makes it pretty fast :) ). Running it in QEMU/KVM? If we want to run a ARM image, we can't use KVM, right? Well, not yet (but surely one day). But, unless you write platform-dependent apps, the x86 environment serves well for testing. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Re: [Qemu-devel] Android Goldfish on QEMU
Am 30.05.2012 00:30, schrieb Peter Maydell: On 28 May 2012 13:28, Stefan Hajnoczi stefa...@gmail.com wrote: Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? I would suggest not, unless we're going to actually solve the accelerate guest OpenGL(ES) issue in mainline QEMU... Andrzej sent patches for that, didn't he? http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg01027.html v2: http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg03181.html Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Re: [Qemu-devel] Android Goldfish on QEMU
On 30 May 2012 12:37, Andreas Färber afaer...@suse.de wrote: Am 30.05.2012 00:30, schrieb Peter Maydell: On 28 May 2012 13:28, Stefan Hajnoczi stefa...@gmail.com wrote: Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? I would suggest not, unless we're going to actually solve the accelerate guest OpenGL(ES) issue in mainline QEMU... Andrzej sent patches for that, didn't he? Yes indeed, and he is not the first to attempt it. However there remains no acceleration *in mainline*. (Plus for Android emulator compatibility we'd need to have our implementation match the guest-to-QEMU ABI used by Google's implementation, which seems unlikely.) -- PMM
Re: [Qemu-devel] Android Goldfish on QEMU
On 2012-05-28 14:28, Stefan Hajnoczi wrote: On Sat, May 26, 2012 at 2:25 PM, 陳韋任 che...@iis.sinica.edu.tw wrote: On Sat, May 26, 2012 at 02:51:29PM +0200, Andreas Färber wrote: Am 26.05.2012 07:55, schrieb 陳韋任: On Fri, May 25, 2012 at 06:13:25PM -0400, Ira Ray Jenkins wrote: I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on? The author sent the patchset last year [1], but apparently it not get merged into trunk. I don't know why. :) Presumably because the student didn't react to any of the review comments and never sent a fixed v2. It would be great if we can bring it back. ;) Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? It's still the base of the emulator you get with current SDKs. FWIW, latest AOSP (today's git checkout) built for the vbox_x86-eng target runs nicely in QEMU/KVM (using the intermediate disk image android_disk.img). So, adding device models to improve this environment would likely be more helpful to provide a first alternative to the Android emulator. And it's likely a lower hanging fruit. And a much sweeter one (KVM makes it pretty fast :) ). Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Re: [Qemu-devel] Android Goldfish on QEMU
On 28 May 2012 13:28, Stefan Hajnoczi stefa...@gmail.com wrote: Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? I would suggest not, unless we're going to actually solve the accelerate guest OpenGL(ES) issue in mainline QEMU... -- PMM
Re: [Qemu-devel] Android Goldfish on QEMU
Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? It's still the base of the emulator you get with current SDKs. FWIW, latest AOSP (today's git checkout) built for the vbox_x86-eng target runs nicely in QEMU/KVM (using the intermediate disk image android_disk.img). So, adding device models to improve this environment would likely be more helpful to provide a first alternative to the Android emulator. And it's likely a lower hanging fruit. And a much sweeter one (KVM makes it pretty fast :) ). Running it in QEMU/KVM? If we want to run a ARM image, we can't use KVM, right? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Re: [Qemu-devel] Android Goldfish on QEMU
On Sat, May 26, 2012 at 2:25 PM, 陳韋任 che...@iis.sinica.edu.tw wrote: On Sat, May 26, 2012 at 02:51:29PM +0200, Andreas Färber wrote: Am 26.05.2012 07:55, schrieb 陳韋任: On Fri, May 25, 2012 at 06:13:25PM -0400, Ira Ray Jenkins wrote: I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on? The author sent the patchset last year [1], but apparently it not get merged into trunk. I don't know why. :) Presumably because the student didn't react to any of the review comments and never sent a fixed v2. It would be great if we can bring it back. ;) Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? Stefan
Re: [Qemu-devel] Android Goldfish on QEMU
On 25 May 2012 23:13, Ira Ray Jenkins irarayjenk...@gmail.com wrote: I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on? The project resulted in a very basic prototype and a better understanding of what the various difficulties are (largely, that the Android emulator forked away from mainline QEMU long enough ago that there are serious divergences in how devices are written and basic framework and utility functions, so you'd more or less have to rewrite most of the devices). I'm not aware of any work currently being done in this area. -- PMM
Re: [Qemu-devel] Android Goldfish on QEMU
Am 26.05.2012 07:55, schrieb 陳韋任: On Fri, May 25, 2012 at 06:13:25PM -0400, Ira Ray Jenkins wrote: I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on? The author sent the patchset last year [1], but apparently it not get merged into trunk. I don't know why. :) Presumably because the student didn't react to any of the review comments and never sent a fixed v2. Regards, Andreas [1] http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg02436.html -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Re: [Qemu-devel] Android Goldfish on QEMU
On Sat, May 26, 2012 at 02:51:29PM +0200, Andreas Färber wrote: Am 26.05.2012 07:55, schrieb 陳韋任: On Fri, May 25, 2012 at 06:13:25PM -0400, Ira Ray Jenkins wrote: I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on? The author sent the patchset last year [1], but apparently it not get merged into trunk. I don't know why. :) Presumably because the student didn't react to any of the review comments and never sent a fixed v2. It would be great if we can bring it back. ;) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
[Qemu-devel] Android Goldfish on QEMU
I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on?
Re: [Qemu-devel] Android Goldfish on QEMU
On Fri, May 25, 2012 at 06:13:25PM -0400, Ira Ray Jenkins wrote: I found a GSOC11 project that attempted to port the Android Goldfish platform to mainline QEMU. Was this project successful, or is this currently being worked on? The author sent the patchset last year [1], but apparently it not get merged into trunk. I don't know why. :) Regards, chenwj [1] http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg02436.html -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj