GuestAgent support

guest agent is planed for soon.
It's more than an idea,the agent itself already exist in qemu git tree.

server side, you need to add chardev and virtio-serial port at vm start command line
Code:
 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 \ -device virtio-serial \ -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0"

then you need to use the qmp protocol to communicate with the guest agent.
current guest agent command are available here.
http://git.qemu.org/?p=qemu.git;a=b...5cf11fb3c1320a263f88b9dac4618c53e63a0;hb=HEAD
 
Last edited:
Thanks spirit,
What you mean by vm start command? can't we put these configs in /etc/pve/qemu-server/vmid.conf ?