差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| android:android_x86 [2019/02/21 17:00] – [仮想ディスクイメージを準備] ともやん | android:android_x86 [2020/05/19 07:19] (現在) – ともやん | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== | + | ====== Android x86 ====== |
| - | ===== 仮想ディスクイメージを準備 ===== | + | [[.:android_x86:qemu|QEMU で Android |
| - | <WRAP prewrap 100%> | + | [[.: |
| - | < | + | |
| - | $ sudo qemu-img create -f qcow2 / | + | |
| - | Formatting '/ | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | ===== 仮想マシンの定義 ===== | + | |
| - | < | + | |
| - | $ vi android_x86_64.xml | + | |
| - | </ | + | |
| - | <WRAP prewrap 100%> | + | |
| - | <file xml android_x86_64.xml> | + | |
| - | <domain type=' | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | </ | + | |
| - | <memory unit=' | + | |
| - | < | + | |
| - | <vcpu placement=' | + | |
| - | < | + | |
| - | <type arch=' | + | |
| - | </ | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | <vmport state=' | + | |
| - | </ | + | |
| - | <cpu mode=' | + | |
| - | <model fallback=' | + | |
| - | </ | + | |
| - | <clock offset=' | + | |
| - | <timer name=' | + | |
| - | <timer name=' | + | |
| - | <timer name=' | + | |
| - | </ | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | < | + | |
| - | < | + | |
| - | <disk type=' | + | |
| - | <driver name=' | + | |
| - | <source file='/ | + | |
| - | <target dev=' | + | |
| - | <boot order=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | <disk type=' | + | |
| - | <driver name=' | + | |
| - | <source file='/ | + | |
| - | <target dev=' | + | |
| - | < | + | |
| - | <boot order=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <master startport=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <master startport=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <master startport=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | < | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <mac address=' | + | |
| - | <source bridge=' | + | |
| - | <model type=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | <serial type=' | + | |
| - | <target type=' | + | |
| - | <model name=' | + | |
| - | </ | + | |
| - | </ | + | |
| - | <console type=' | + | |
| - | <target type=' | + | |
| - | </ | + | |
| - | <input type=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | <input type=' | + | |
| - | <input type=' | + | |
| - | < | + | |
| - | <listen type=' | + | |
| - | <image compression=' | + | |
| - | </ | + | |
| - | <sound model=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <model type=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | < | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | ネットワークインターフェースのモデルは e1000 を選んでブリッジ br0 へ接続する。\\ | + | |
| - | <code xml> | + | |
| - | < | + | |
| - | <mac address=' | + | |
| - | <source bridge=' | + | |
| - | <model type=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | </ | + | |
| - | マウスの動きを良くする為に USB タブレットを追加する。\\ | + | |
| - | <code xml> | + | |
| - | <input type=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | </ | + | |
| - | サウンドは es1370 を選ぶ。\\ | + | |
| - | <code xml> | + | |
| - | <sound model=' | + | |
| - | <address type=' | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | < | + | |
| - | $ sudo virsh define android_x86_64.xml | + | |
| - | ドメイン android_x86_64 が android_x86_64.xml から定義されました | + | |
| - | </ | + | |
| - | + | ||
| - | ===== インストール ===== | + | |
| - | {{: | + | |