Skip to content

QEMU Guest Agent building for host instead of guest/target platform #841

@DanielPalliser

Description

@DanielPalliser

I've been tying to get qemu guest agent working in the OP-TEE qemu_v8 build

I added BR2_PACKAGE_QEMU_GUEST_AGENT to common.mk to build the package, but it is not building correctly.
I can see there are built qemu-ga binaries at these locations:

./out-br/host/bin/qemu-ga
./qemu/build/qga/qemu-ga
./qemu/build/qemu-bundle/usr/local/bin/qemu-ga

The problem is that these binaries are built for the host platform.
The qemu guest agent needs be built for the target platform and installed there.

The build line I'm using is
make -f qemu_v8.mk -j'nproc' QEMU_VIRTFS_ENABLE=y QEMU_USERNET_ENABLE=y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions