Use this when a VM needs clean shutdown, IP reporting, time sync or quiesced backups, or when the hypervisor shows tools not running.
Guest Tools / Agents
Guest tools or agents (VMware Tools, Hyper-V Integration Services, qemu-guest-agent) run inside the VM to provide drivers, clean shutdown, time sync, IP reporting, quiesced snapshots and heartbeats to the hypervisor.
1. Guest tools: qemu-guest-agent, Hyper-V integration services, VMware Tools.
2. They enable clean shutdown, IP reporting, quiesced snapshots and time sync.
3. Enable the agent option in VM config too.
4. Keep versions current.
5. Check the service runs in the guest.
host request → agent channel → guest service → result
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
systemctl status qemu-guest-agentVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
systemctl status qemu-guest-agent # Linux guest
qm agent 101 ping # Proxmox host
Get-VMIntegrationService vm01 # Hyper-V
Step 2 Common mistakes Narrow the fault
- Agent installed but not enabled in the VM options (Proxmox
agent: 1). - Outdated VMware Tools after host upgrades.
- Time sync from both agent and NTP fighting each other.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- No guest agent = no clean shutdown or IP reporting.
- Agent version should match host version.
- Quiesced snapshots need the agent.
qm agent <vmid> ping— QEMU guest agent responds (Proxmox)virsh qemu-agent-command <vm> '{"execute":"guest-ping"}'— agent responds (libvirt)Get-VMIntegrationService <vm>— Hyper-V integration services
ReferenceWhy it matters1 section · depth on demand
In depth
Guest tools/agents run inside the VM and let the host coordinate with it:
| Function | Why it matters |
|---|---|
| Graceful shutdown/reboot | Host can stop VMs cleanly during maintenance |
| Filesystem freeze (quiesce) | Consistent snapshots and backups |
| IP and OS reporting | Inventory, automation, HA heartbeats |
| Time sync | Avoid drift after pause/migration |
| Memory balloon | Reclaim memory under pressure |
systemctl status qemu-guest-agent; qm agent 100 ping
vmware-toolbox-cmd -v
Get-VMIntegrationService -VMName vm1
ReferenceImportant terms & boundaries1 section · depth on demand
Agents per platform
| Platform | Agent |
|---|---|
| vSphere | VMware Tools / open-vm-tools |
| KVM/Proxmox | qemu-guest-agent (enable QEMU Guest Agent in VM options) |
| Hyper-V | Integration services (built into modern Windows/Linux) |
Agents provide clean shutdown, IP reporting, time sync and file-system freeze for consistent backups.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Architecture → Guest Tools / Agents. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%