Install guest-agent on new VM
For Linux:
ssh into the server
install the agent
apt-get install qemu-guest-agent
enable the agent
systemctl enable qemu-guest-agent
reboot server
For Windows:
First you have to download the virtio-win driver iso (see Windows VirtIO Drivers).
Then install the virtio-serial driver:
Attach the ISO to your windows VM (virtio-*.iso)
Go to the windows Device Manager
Look for "PCI Simple Communications Controller"
Right Click:
Update Driver and select on the mounted iso in DRIVE:\vioserial\<OSVERSION>\ where <OSVERSION> is your Windows Version (e.g. 2k12R2 for Windows 2012 R2
After that, you have to install the qemu-guest-agent:
Go to the mounted ISO in explorer
The guest agent installer is in the directory guest-agent
Execute the installer with double click (either qemu-ga-x86_64.msi (64-bit) or qemu-ga-i386.msi (32-bit)
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
Last updated