logoalt Hacker News

sthustfotoday at 2:18 AM4 repliesview on HN

What are the typical use cases for the Guest VM to talk to Hypervisor? I see 2 use cases mentioned on the Proxmox link (https://pve.proxmox.com/wiki/Qemu-guest-agent)

1. shutdown the guest 2. freeze the guest system during backup/snapshot

Just curious about other possible use cases.


Replies

donmcronaldtoday at 5:22 AM

I think it would be useful for backup testing. Lots of VM backup software will boot a restored VM and screenshot the login screen. That’s useless IMO because you could be screenshotting an outdated restore without realizing.

I think you could boot a network disconnected VM and communicate over vsock to assess the guest health. You’d need an agent in the VM, but I think it'd be worth it.

touisteurtoday at 6:43 AM

Building micromvs with no network support helps with isolation and (more) kernel surface reduction.

teravortoday at 5:28 AM

some VMMs just straight up translate vsock from the guest to UDS on the host.

orielhaimtoday at 8:31 AM

[dead]