Add support for QEMU Guest Agent

This commit is contained in:
Martin Wimpress 2021-10-27 22:20:47 +01:00
parent c5efb7d79d
commit 528064383b
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ comprehensive support for macOS and Windows**.
* Full SPICE support including host/guest clipboard sharing
* VirtIO-webdavd file sharing for Linux and Windows guests
* VirtIO-9p file sharing for Linux and macOS guests
* [QEMU Guest Agent support](https://wiki.qemu.org/Features/GuestAgent); provides access to a system-level agent via standard QMP commands
* Samba file sharing for Linux, macOS and Windows guests (*if `smbd` is installed on the host*)
* VirGL acceleration
* USB device pass-through

View File

@ -804,6 +804,8 @@ function vm_boot() {
-rtc base=localtime,clock=host,driftfix=slew
-spice ${SPICE}
-device virtio-serial-pci
-chardev socket,id=agent0,path="${VMDIR}/${VMNAME}-agent.sock",server=on,wait=off
-device virtserialport,chardev=agent0,name=org.qemu.guest_agent.0
-chardev spicevmc,id=vdagent0,name=vdagent
-device virtserialport,chardev=vdagent0,name=com.redhat.spice.0
-device virtio-rng-pci,rng=rng0