Hi, If the */proc/cmdline* transfered from Kernel includes *qemu* key, the init would use its value. Please refer to the function of *import_kernel_nv* in ${ANDROID_ROOT}/system/core/init/init.c.
On Thursday, January 15, 2015 at 2:35:51 PM UTC+8, WKPlus wrote: > > I have tried: > 1. add 'ro.kernel.qemu=0' in the default.prop in ramdisk.img > 2. add 'setprop ro.kernel.qemu 0' in the init.goldfish.rc in ramdisk.img > > But all these did not help. When I restart the emulator with the modifed > ramdisk.img, 'ro.kernel.qemu' is 1. > > I also have tried to rebuild the kernel, but I did not find where > 'ro.kernel.qemu' is set in the source code. > > Appreciated for any advices. > -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.