Changes

Jump to: navigation, search

Qemu Guest Agent Integration

224 bytes added, 16:31, 24 September 2013
/* Libvirt */
</syntaxhighlight>
This will create a new virtual serial device within the VM and a new socket under <code>/var/lib/libvirt/qemu/channel/target/</code> (make  Make sure that this directory exists and is protected!) :<syntaxhighlight lang='xml'>mkdir -p /var/lib/libvirt/qemu/channel/target/chown root:qemu /var/lib/libvirt/qemu/channel/target/chmod 770 /var/lib/libvirt/qemu/channel/target/</syntaxhighlight> The sockets are named <code>/var/lib/libvirt/qemu/channel/target/${VMNAME}.org.qemu.guest_agent.0</code>.
Please note: since libvirt will automatically listen on that socket one can not use a tool like <code>qemu-ga-client</code> to anything on it, everything has to go via libvirt.