Re: [PATCH] raw-format: drop WRITE and RESIZE child perms when possible

2021-08-19 Thread Hanna Reitz
On 26.07.21 14:28, Stefan Hajnoczi wrote: The following command-line fails due to a permissions conflict: $ qemu-storage-daemon \ --blockdev driver=nvme,node-name=nvme0,device=:08:00.0,namespace=1 \ --blockdev driver=raw,node-name=l1-1,file=nvme0,offset=0,size=1073741824 \

Re: [PATCH] raw-format: drop WRITE and RESIZE child perms when possible

2021-07-26 Thread Stefan Hajnoczi
On Mon, Jul 26, 2021 at 05:42:47PM +0200, Kevin Wolf wrote: > Am 26.07.2021 um 16:41 hat Vladimir Sementsov-Ogievskiy geschrieben: > > 26.07.2021 15:28, Stefan Hajnoczi wrote: > > > The following command-line fails due to a permissions conflict: > > > > > >$ qemu-storage-daemon \ > > >

Re: [PATCH] raw-format: drop WRITE and RESIZE child perms when possible

2021-07-26 Thread Kevin Wolf
Am 26.07.2021 um 16:41 hat Vladimir Sementsov-Ogievskiy geschrieben: > 26.07.2021 15:28, Stefan Hajnoczi wrote: > > The following command-line fails due to a permissions conflict: > > > >$ qemu-storage-daemon \ > >--blockdev > > driver=nvme,node-name=nvme0,device=:08:00.0,namespac

Re: [PATCH] raw-format: drop WRITE and RESIZE child perms when possible

2021-07-26 Thread Vladimir Sementsov-Ogievskiy
26.07.2021 15:28, Stefan Hajnoczi wrote: The following command-line fails due to a permissions conflict: $ qemu-storage-daemon \ --blockdev driver=nvme,node-name=nvme0,device=:08:00.0,namespace=1 \ --blockdev driver=raw,node-name=l1-1,file=nvme0,offset=0,size=1073741824 \

[PATCH] raw-format: drop WRITE and RESIZE child perms when possible

2021-07-26 Thread Stefan Hajnoczi
The following command-line fails due to a permissions conflict: $ qemu-storage-daemon \ --blockdev driver=nvme,node-name=nvme0,device=:08:00.0,namespace=1 \ --blockdev driver=raw,node-name=l1-1,file=nvme0,offset=0,size=1073741824 \ --blockdev driver=raw,node-name=l1-2,file