I've done some more research into this. It appears that the qemu_ga=True argument to _add_var() on line 241 of /usr/share/virt-manager/virtinst/osdict.py (also line 258 affecting Fedora 18 and later) causes qemu-system-x86_64 to be called with an extra argument:
I've done some more research into this. It appears that the qemu_ga=True argument to _add_var() on line 241 of /usr/share/ virt-manager/ virtinst/ osdict. py (also line 258 affecting Fedora 18 and later) causes qemu-system-x86_64 to be called with an extra argument:
-chardev socket, id=charchannel0 ,path=/ var/lib/ libvirt/ qemu/channel/ target/ rhel7.org. qemu.guest_ agent.0, server, nowait
I've managed to get this working by creating /var/lib/ libvirt/ qemu/channel/ target with appropriate ownership:
# mkdir -p /var/lib/ libvirt/ qemu/channel/ target libvirt/ qemu/channel
# chown -R libvirt-qemu:kvm /var/lib/
and adding the following to the bottom of /etc/apparmor. d/abstractions/ libvirt- qemu:
/var/ lib/libvirt/ qemu/channel/ target/ * rw,
(I'm not an apparmor expert, so there may well be a better way of doing this.)