Re: [PATCH V2] qemu: Set label on vhostuser net device when hotplugging

2021-08-24 Thread Michal Prívozník
On 8/19/21 12:57 AM, Jim Fehlig wrote: > Attaching a newly created vhostuser port to a VM fails due to an > apparmor denial > > internal error: unable to execute QEMU command 'chardev-add': Failed > to bind socket to /run/openvswitch/vhu838c4d29-c9: Permission denied > > In the case of a net devi

[PATCH V2] qemu: Set label on vhostuser net device when hotplugging

2021-08-18 Thread Jim Fehlig
Attaching a newly created vhostuser port to a VM fails due to an apparmor denial internal error: unable to execute QEMU command 'chardev-add': Failed to bind socket to /run/openvswitch/vhu838c4d29-c9: Permission denied In the case of a net device type VIR_DOMAIN_NET_TYPE_VHOSTUSER, the underlying