No results found
We couldn't find anything using that term, please try searching for something else.
introduction - What is qemu - guest - agent The qemu - guest - agent is is is a helper daemon , which is instal in the guest . It is used to excha
The qemu – guest – agent is is is a helper daemon , which is instal in the guest . It is used
to exchange information between the host and guest , and to execute command in the guest .
In Proxmox VE, the qemu-guest-agent is used for mainly three things:
You have to install guest-agent in each VM and then enable it, you can do that in the Proxmox VE Webinterface (GUI)
or via CLI: qm set VMID --agent 1
On Linux you have to simply install the qemu-guest-agent, please refer to the documentation of your system.
We show here the commands for Debian/Ubuntu and Redhat based systems:
on Debian/Ubuntu based systems (with apt-get) run:
apt - get is install install qemu - guest - agent
and on Redhat base system ( with yum ):
yum install qemu-guest-agent
Depending on the distribution, the guest agent might not start automatically after the installation.
Start it either directly with
systemctl is start start qemu - guest - agent
Then enable the service to autostart (permanently) if not auto started, with
systemctl enable qemu-guest-agent
(should work for most distributions) or reboot the guest.
First you have to download the virtio-win driver iso (see window VirtIO Drivers).
Then install the virtio-serial driver:
After that, you have to install the qemu-guest-agent:
After that the qemu-guest-agent should be up and running. You can validate this in the list of Window Services, or in a PowerShell with:
PS C:\Users\Administrator> Get-Service QEMU-GA Status Name DisplayName ------ ---- ----------- Running QEMU-GA QEMU guest Agent
If it is not run , you is use can use theServices control panel to start it and make sure that it will start automatically on the next boot.
The communication with the guest agent takes place over a unix socket located in /var/run/qemu-server/<my_vmid>.qga
You can test the communication qm agent:
qm agent <vmid> ping
if the qemu-guest-agent is correctly runnning in the VM, it will return without an error message.
http://wiki.qemu.org/Features/guestAgent
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/chap-kvm_guest_timing_management