diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2016-12-06 00:33:22 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:05:22 +0000 |
| commit | be60ae52f2871b84db8cdc96f8ac18c09892104a (patch) | |
| tree | c84aafdb17ca9907b6f37d49113373084ed225ca | |
| parent | 9dd223bf1853187488ce550502a003933e41ee2a (diff) | |
| download | poky-be60ae52f2871b84db8cdc96f8ac18c09892104a.tar.gz | |
qemuboot.bbclass: add blank lines in comments
Add blank lines in comments to make it easy for readind and updating.
(From OE-Core rev: 3f3344d1c063b0013a9ae7203bac30ab8f4ea17c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/qemuboot.bbclass | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index be5d7a4c8f..3ca97cad4c 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass | |||
| @@ -3,34 +3,52 @@ | |||
| 3 | # boot by runqemu: | 3 | # boot by runqemu: |
| 4 | # | 4 | # |
| 5 | # QB_SYSTEM_NAME: qemu name, e.g., "qemu-system-i386" | 5 | # QB_SYSTEM_NAME: qemu name, e.g., "qemu-system-i386" |
| 6 | # | ||
| 6 | # QB_OPT_APPEND: options to append to qemu, e.g., "-show-cursor" | 7 | # QB_OPT_APPEND: options to append to qemu, e.g., "-show-cursor" |
| 8 | # | ||
| 7 | # QB_DEFAULT_KERNEL: default kernel to boot, e.g., "bzImage" | 9 | # QB_DEFAULT_KERNEL: default kernel to boot, e.g., "bzImage" |
| 10 | # | ||
| 8 | # QB_DEFAULT_FSTYPE: default FSTYPE to boot, e.g., "ext4" | 11 | # QB_DEFAULT_FSTYPE: default FSTYPE to boot, e.g., "ext4" |
| 12 | # | ||
| 9 | # QB_MEM: memory, e.g., "-m 512" | 13 | # QB_MEM: memory, e.g., "-m 512" |
| 14 | # | ||
| 10 | # QB_MACHINE: qemu machine, e.g., "-machine virt" | 15 | # QB_MACHINE: qemu machine, e.g., "-machine virt" |
| 16 | # | ||
| 11 | # QB_CPU: qemu cpu, e.g., "-cpu qemu32" | 17 | # QB_CPU: qemu cpu, e.g., "-cpu qemu32" |
| 18 | # | ||
| 12 | # QB_CPU_KVM: the similar to QB_CPU, but used when kvm, e.g., '-cpu kvm64', | 19 | # QB_CPU_KVM: the similar to QB_CPU, but used when kvm, e.g., '-cpu kvm64', |
| 13 | # set it when support kvm. | 20 | # set it when support kvm. |
| 21 | # | ||
| 14 | # QB_KERNEL_CMDLINE_APPEND: options to append to kernel's -append | 22 | # QB_KERNEL_CMDLINE_APPEND: options to append to kernel's -append |
| 15 | # option, e.g., "console=ttyS0 console=tty" | 23 | # option, e.g., "console=ttyS0 console=tty" |
| 24 | # | ||
| 16 | # QB_DTB: qemu dtb name | 25 | # QB_DTB: qemu dtb name |
| 26 | # | ||
| 17 | # QB_AUDIO_DRV: qemu audio driver, e.g., "alsa", set it when support audio | 27 | # QB_AUDIO_DRV: qemu audio driver, e.g., "alsa", set it when support audio |
| 28 | # | ||
| 18 | # QB_AUDIO_OPT: qemu audio option, e.g., "-soundhw ac97,es1370", used | 29 | # QB_AUDIO_OPT: qemu audio option, e.g., "-soundhw ac97,es1370", used |
| 19 | # when QB_AUDIO_DRV is set. | 30 | # when QB_AUDIO_DRV is set. |
| 31 | # | ||
| 20 | # QB_KERNEL_ROOT: kernel's root, e.g., /dev/vda | 32 | # QB_KERNEL_ROOT: kernel's root, e.g., /dev/vda |
| 33 | # | ||
| 21 | # QB_NETWORK_DEVICE: network device, e.g., "-device virtio-net-pci,netdev=net0,mac=@MAC@", | 34 | # QB_NETWORK_DEVICE: network device, e.g., "-device virtio-net-pci,netdev=net0,mac=@MAC@", |
| 22 | # it needs work with QB_TAP_OPT and QB_SLIRP_OPT. | 35 | # it needs work with QB_TAP_OPT and QB_SLIRP_OPT. |
| 23 | # Note, runqemu will replace @MAC@ with a predefined mac, you can set | 36 | # Note, runqemu will replace @MAC@ with a predefined mac, you can set |
| 24 | # a custom one, but that may cause conflicts when multiple qemus are | 37 | # a custom one, but that may cause conflicts when multiple qemus are |
| 25 | # running on the same host. | 38 | # running on the same host. |
| 39 | # | ||
| 26 | # QB_TAP_OPT: netowrk option for 'tap' mode, e.g., | 40 | # QB_TAP_OPT: netowrk option for 'tap' mode, e.g., |
| 27 | # "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" | 41 | # "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" |
| 28 | # Note, runqemu will replace "@TAP@" with the one which is used, such as tap0, tap1 ... | 42 | # Note, runqemu will replace "@TAP@" with the one which is used, such as tap0, tap1 ... |
| 43 | # | ||
| 29 | # QB_SLIRP_OPT: network option for SLIRP mode, e.g., -netdev user,id=net0" | 44 | # QB_SLIRP_OPT: network option for SLIRP mode, e.g., -netdev user,id=net0" |
| 45 | # | ||
| 30 | # QB_ROOTFS_OPT: used as rootfs, e.g., | 46 | # QB_ROOTFS_OPT: used as rootfs, e.g., |
| 31 | # "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" | 47 | # "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" |
| 32 | # Note, runqemu will replace "@ROOTFS@" with the one which is used, such as core-image-minimal-qemuarm64.ext4. | 48 | # Note, runqemu will replace "@ROOTFS@" with the one which is used, such as core-image-minimal-qemuarm64.ext4. |
| 49 | # | ||
| 33 | # QB_SERIAL_OPT: serial port, e.g., "-serial mon:stdio" | 50 | # QB_SERIAL_OPT: serial port, e.g., "-serial mon:stdio" |
| 51 | # | ||
| 34 | # QB_TCPSERIAL_OPT: tcp serial port option, e.g., | 52 | # QB_TCPSERIAL_OPT: tcp serial port option, e.g., |
| 35 | # " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" | 53 | # " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" |
| 36 | # Note, runqemu will replace "@PORT@" with the port number which is used. | 54 | # Note, runqemu will replace "@PORT@" with the port number which is used. |
