cirros-dev / cirros

116 stars 33 forks source link

Qemu agent support #71

Open ikrel opened 2 years ago

ikrel commented 2 years ago

Does latest Cirros release still contain Qemu Agent support? I was not able to get the instance to respond to QMP commands from hypervisor even after enabling : hw_qemu_guest_agent='True' I can confirm proper virsh definition generation:

<channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-0023add9.sock'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>

The socket exists on hypervisor, but there seems to be nothing loaded or running in the VM itself, hence no response to virsh qemu-agent-command instance-0023add9 '{"execute":"guest-ping"}' or other commands.

Thank you!