QEMU vs Android模拟器:命令行选项 [英] QEMU vs Android emulator: command line options

查看:73
本文介绍了QEMU vs Android模拟器:命令行选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

股票QEMU和Android仿真器之间在命令行选项方面有什么区别?

What are differences regarding command line options between stock QEMU and Android emulator?

是否有一个具有相同语法但在两者之间工作方式不同的选项?或类似的陷阱.

Is there an option that has the same syntax, but works differently between the two? Or similar gotchas..

推荐答案

Android模拟器是在qemu之上构建的,因此基本上android模拟器继承了qemu的所有功能并获得了针对Android的更多特定选项.从命令行的角度来看,Android仿真器更像是包装器.看起来像:

Android emulator is built atop qemu, so basically android emulator inherits all the features from qemu and gets more specific options for android. From the view of the command line, android emulator is more like a wrapper. It looks like:

emulator <options-for-android> -qemu <options-for-qemu>

您可以在android emulator文件夹中的main-emulator.c文件中引用代码.在此处,您将看到所有选项都将被解析并发送到vl-android.c的主要功能,该功能是修改后的qemu的入口点.

You can refer the code in file main-emulator.c in the folder of android emulator. In there, you will see that all the options will be parsed and sent to the main function of vl-android.c, which is the entry point of a modified qemu.

这篇关于QEMU vs Android模拟器:命令行选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆