Skip to content

Qemu-guest-agent is missing in QEMU aarch64 image #1593

@sergey-cheperis

Description

@sergey-cheperis

Description

Per https://www.flatcar.org/docs/latest/setup/customization/acpi/, images should include qemu-guest-agent which is enabled when org.qemu.guest_agent.0 virtio port is present. However, the flatcar_production_qemu_uefi_secure_image.img image for aarch64 does not contain it.

Impact

Guest automation depending on the guest agent does not work.

Environment and steps to reproduce

  1. Run Flatcar from flatcar_production_qemu_uefi_secure_image.img for aarch64 archictecture. The version being tested is 4081.2.0. Use the following qemu args to add the virtio port:
-chardev socket,host=localhost,port=4444,server=on,wait=off,id=vp0
-device virtio-serial
-device virtserialport,chardev=vp0,name=org.qemu.guest_agent.0
  1. Log in to the VM with SSH.
  2. Ensure ls -la /dev/virtio-ports/ shows the org.qemu.guest_agent.0 port.
  3. Ensure which qemu-guest-agent does not show anything, neither does pgrep qemu.

Expected behavior

A qemu-guest-agent executable exists and is started.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions