-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
1.内核配置
在最新内核配置上需要增加以下配置项:
# FOR QEMU-GA must add:
CONFIG_VIRTIO_CONSOLE=y
CONFIG_SERIAL_NONSTANDARD=y
2、Qemu-GA需要系统支持
目前适配了默认的Alpine Linux镜像,参考方法如下:
apk add qemu-guest-agent
rc-update add qemu-guest-agent
编辑 /etc/conf.d/qemu-guest-agent 文件,修改为以下内容:
# Specifies the transport method used to communicate to QEMU on the host side
# Default: virtio-serial
GA_METHOD="virtio-serial"
# Specifies the device path for the communications back to QEMU on the host
# Default: /dev/virtio-ports/org.qemu.guest_agent.0
GA_PATH="/dev/vport5p1"
3、附件:
-(1)完整内核配置文件:
-(2)完整虚拟机镜像:(所有文件,含内核和默认系统镜像)
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation