Skip to content

【解决方案】Qemu-GA (qemu-guest-agent) 手机平板 [非PC (2in1) ] 支持 #56

@aiminickwong

Description

@aiminickwong

以下是默认的Alpine Linux镜像,

/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"

文件中/dev/vport5p1是设备路径。

手机/平板/电视 的路径和 PC 不一样,我这里看到的手机平板的路径是:/dev/vport5p1

以实际为准,手机/平板/电视 需要改成你实际的路径!

你可以执行以下命令查看设备实际路径:

ls /dev/vport*

这里应该只会有一个结果。

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions