Re: [Qemu-block] [PATCH 08/10] scsi: build qemu-pr-helper

2017-08-30 Thread Stefan Hajnoczi
On Tue, Aug 22, 2017 at 03:18:30PM +0200, Paolo Bonzini wrote: > +#ifdef CONFIG_MPATH > +dm_init(); > +multipath_pr_init(); > +#endif This should be in the next patch. Stefan

Re: [Qemu-block] [PATCH 08/10] scsi: build qemu-pr-helper

2017-08-30 Thread Stefan Hajnoczi
On Tue, Aug 22, 2017 at 03:18:30PM +0200, Paolo Bonzini wrote: > diff --git a/docs/interop/pr-helper.rst b/docs/interop/pr-helper.rst > new file mode 100644 > index 00..765174c31f > --- /dev/null > +++ b/docs/interop/pr-helper.rst > @@ -0,0 +1,78 @@ > +.. > + >

[Qemu-block] [PATCH 08/10] scsi: build qemu-pr-helper

2017-08-22 Thread Paolo Bonzini
Introduce a privileged helper to run persistent reservation commands. This lets virtual machines send persistent reservations without using CAP_SYS_RAWIO or out-of-tree patches. The helper uses Unix permissions and SCM_RIGHTS to restrict access to processes that can access its socket and prove