Re: [PATCH] qemu: Label vhostuser net device

2021-08-27 Thread Maxime Coquelin
On 8/19/21 11:10 AM, Michael S. Tsirkin wrote: > On Wed, Aug 18, 2021 at 09:00:52AM -0400, Laine Stump wrote: >> On 8/18/21 4:21 AM, Michal Prívozník wrote: >>> On 8/18/21 12:31 AM, Jim Fehlig wrote: On 8/17/21 12:11 PM, Jim Fehlig wrote: > On 8/17/21 4:13 AM, Michal Prívozník wrote: >>

Re: [PATCH] qemu: Label vhostuser net device

2021-08-19 Thread Michael S. Tsirkin
On Wed, Aug 18, 2021 at 09:00:52AM -0400, Laine Stump wrote: > On 8/18/21 4:21 AM, Michal Prívozník wrote: > > On 8/18/21 12:31 AM, Jim Fehlig wrote: > > > On 8/17/21 12:11 PM, Jim Fehlig wrote: > > > > On 8/17/21 4:13 AM, Michal Prívozník wrote: > > > > > On 8/13/21 11:36 PM, Jim Fehlig wrote: > >

Re: [PATCH] qemu: Label vhostuser net device

2021-08-18 Thread Jim Fehlig
On 8/18/21 12:03 PM, Jim Fehlig wrote: On 8/18/21 2:21 AM, Michal Prívozník wrote: On 8/18/21 12:31 AM, Jim Fehlig wrote: On 8/17/21 12:11 PM, Jim Fehlig wrote: On 8/17/21 4:13 AM, Michal Prívozník wrote: On 8/13/21 11:36 PM, Jim Fehlig wrote: Attaching a newly created vhostuser port to a VM

Re: [PATCH] qemu: Label vhostuser net device

2021-08-18 Thread Jim Fehlig
On 8/18/21 2:21 AM, Michal Prívozník wrote: On 8/18/21 12:31 AM, Jim Fehlig wrote: On 8/17/21 12:11 PM, Jim Fehlig wrote: On 8/17/21 4:13 AM, Michal Prívozník wrote: On 8/13/21 11:36 PM, Jim Fehlig wrote: Attaching a newly created vhostuser port to a VM fails due to an apparmor denial intern

Re: [PATCH] qemu: Label vhostuser net device

2021-08-18 Thread Laine Stump
On 8/18/21 4:21 AM, Michal Prívozník wrote: On 8/18/21 12:31 AM, Jim Fehlig wrote: On 8/17/21 12:11 PM, Jim Fehlig wrote: On 8/17/21 4:13 AM, Michal Prívozník wrote: On 8/13/21 11:36 PM, Jim Fehlig wrote: Attaching a newly created vhostuser port to a VM fails due to an apparmor denial intern

Re: [PATCH] qemu: Label vhostuser net device

2021-08-18 Thread Michal Prívozník
On 8/18/21 12:31 AM, Jim Fehlig wrote: > On 8/17/21 12:11 PM, Jim Fehlig wrote: >> On 8/17/21 4:13 AM, Michal Prívozník wrote: >>> On 8/13/21 11:36 PM, Jim Fehlig wrote: Attaching a newly created vhostuser port to a VM fails due to an apparmor denial internal error: unable to ex

Re: [PATCH] qemu: Label vhostuser net device

2021-08-17 Thread Jim Fehlig
On 8/17/21 12:11 PM, Jim Fehlig wrote: On 8/17/21 4:13 AM, Michal Prívozník wrote: On 8/13/21 11:36 PM, 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

Re: [PATCH] qemu: Label vhostuser net device

2021-08-17 Thread Jim Fehlig
On 8/17/21 4:13 AM, Michal Prívozník wrote: On 8/13/21 11:36 PM, 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

Re: [PATCH] qemu: Label vhostuser net device

2021-08-17 Thread Michal Prívozník
On 8/13/21 11:36 PM, 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] qemu: Label vhostuser net device

2021-08-13 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