Adding QEMU Emulator Support in Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Adding QEMU Emulator Support in Android

ソリューションへジャンプ
2,842件の閲覧回数
vinothkumars
Senior Contributor IV

Dear NXP,

I am working on Android 9. I needs to add ro.kernel.qemu support in Android 9. By default ro.kernel.qemu is false

std::unique_ptr<CommBase> CommFactory::create() {
 bool isEmulator = android::base::GetBoolProperty("ro.kernel.qemu", false);

 if (isEmulator) {
 return std::make_unique<PipeComm>();
 } else {
 return std::make_unique<SocketComm>();
 }
}

Currently, emulated value from BSP through Socket Communication (SocketComm).

Is there any possible to add emulator (ro.kernel.qemu)  in source ?

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
ラベル(2)
0 件の賞賛
返信
1 解決策
2,737件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Unfortunately, It is not supported by our BSP.

However, you could add an instance in the init.rc that enables qemu support.

setprop ro.kernel.qemu 1 

However, we cannot guarantee that this will work.

Best regards,

Diego.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,738件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Unfortunately, It is not supported by our BSP.

However, you could add an instance in the init.rc that enables qemu support.

setprop ro.kernel.qemu 1 

However, we cannot guarantee that this will work.

Best regards,

Diego.

0 件の賞賛
返信
2,737件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you Diego,

Thanks,

VinothS,

Regards,
Vinothkumar Sekar
0 件の賞賛
返信