Hide Forgot
Currently a user of the qemu guest agent must manually configure a virtio-serial communication channel to enable libvirt to talk to the agent. IMO it would make things easier on users to create a tag in the domain XML like <enable-agent/> or similar to set up the channel automatically.
The way we currently configure virtio serial devices is not the way it will be done long term. Currently libvirt manages comms with the guest agent, so we must specify a full set of config parameters for a UNIX socket backend. In the future QEMU will manage comms, and so the setup will be more like the spice agent config. Either way, I don't think we should be adding syntactic sugar to the XML in this way. If ease of use if the desire, then you've already lost big time, by being near the XML, and there are many many other areas of libvirt XML that are just as verbose as agent config is, without syntactic sugar. The focus should be on making virt-manager/virt-install do the right thing, for usability, and documenting the fine details for libvirt XML, not sugaring the XML schema.
Ok, I'll buy that.