QEMU Guest Agent Installed but not?

Apr 22, 2020
1
0
1
Hey Guys,

I have a question regarding the QEMU GA. I've attached some screenshots, maybe one of you Proxmox Geniuses can help me :)

I can query some qm commands from Proxmox, but when I attempt to ping the virtual machine using qm, it tells me the service isn't installed. Have a look.

root@pxc:~# qm agent 2000 ping
No QEMU guest agent configured

root@pxc:~# qm agent 2000 ping
QEMU guest agent is not running
root@pxc:~# qm status 2000
status: running

root@pxc:~# qm pending 2000
cur agent: 1,type=virtio
cur bootdisk: scsi0
cur cores: 5
cur ide0: nvme512:2000/vm-2000-disk-1.qcow2,cache=writethrough,size=100G,ssd=1
cur ide1: local-zfs:vm-2000-disk-1,backup=0,cache=writethrough,size=1500G,ssd=1
cur ide2: none,media=cdrom
cur ide3: none,media=cdrom
cur memory: 9096
cur name: redacted
cur net0: Redacted
cur numa: 0
cur onboot: 1
cur ostype: win8
cur scsihw: virtio-scsi-pci
cur smbios1: uuid=d2db253e-db54-4048-8bf8-f7c8fdfde06c
cur sockets: 1
cur unused0: nvme512:2000/vm-2000-disk-0.qcow2
cur unused1: local-zfs:vm-2000-disk-0
cur vmgenid: Redacted
root@pxc:~# qm guest cmd 2000 ping
QEMU guest agent is not running
root@pxc:~# qm status 2000
status: running

Any help would be great.


Thanks so much.
 

Attachments

  • Qemu_running_but_not.png
    Qemu_running_but_not.png
    55.6 KB · Views: 24
Hi,
i have the same problem, qemu-guest is running, but i can`t communicate with it. I have already reinstalled the last version and the problem persist.
When i try to ping the VM he respond qemu-guet not configured.
 

Attachments

  • qemu-guest.PNG
    qemu-guest.PNG
    7.8 KB · Views: 9
  • virsh_qemu-guest.PNG
    virsh_qemu-guest.PNG
    4.1 KB · Views: 9
Yes, I installed them but they still don't appear in device management.
1700657375178.png
I am using version 0.1.240, a W10 22h2 operating system and I have installed all the drivers shown in the image.
 
Have you check that you have indeed activated the QEMU agent device in VM -> options -> QEMU Guest Agent?

You need the driver in qemupciserial.
 
When using KVM, through the interface I can't see if it is activated, and through the console I don't know the way.
Also, I have modified the XML file of the machine to add the driver, but I get the same result.
The code I have added is this:
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/Windows10_Campamento_2.agent'/>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
 
When using KVM, through the interface I can't see if it is activated, and through the console I don't know the way.
Also, I have modified the XML file of the machine to add the driver, but I get the same result.
The code I have added is this:
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/Windows10_Campamento_2.agent'/>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
What XML? This is Proxmox VE not libvirt, so that cannot work.

This is what I meant:

1700670078492.png
 
What XML? This is Proxmox VE not libvirt, so that cannot work.

This is what I meant:

View attachment 58582
If I understood what you were telling me, thank you very much anyway, you have helped me, I will try to find some information related to libvirt to see if I can find out what the problem is.
Thanks again and sorry for the inconvenience.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!