[virt-tools-list] [ [PATCH 0/3] Add SCSI persistent reservation support for LUN Passthrough

Michal Privoznik mprivozn at redhat.com
Wed Sep 26 12:36:24 UTC 2018


On 09/25/2018 11:12 AM, Lin Ma wrote:
> Lin Ma (3):
>   cli: disk: add pr.managed=, pr.type=, pr.path= and pr.mode= support
>   details: Add disk pr.managed and pr.path options to support SCSI PR
>   addhardware: Add disk pr.managed and pr.path options to support SCSI
>     PR
> 
>  man/virt-install.pod                          | 13 +++++
>  .../compare/virt-install-many-devices.xml     |  9 +++
>  tests/clitest.py                              |  1 +
>  ui/addhardware.ui                             | 56 ++++++++++++++++++
>  ui/details.ui                                 | 57 +++++++++++++++++++
>  virtManager/addhardware.py                    | 42 ++++++++++++++
>  virtManager/details.py                        | 47 ++++++++++++++-
>  virtManager/domain.py                         | 15 ++++-
>  virtinst/cli.py                               |  5 ++
>  virtinst/devices/disk.py                      |  9 +++
>  10 files changed, 252 insertions(+), 2 deletions(-)
> 

Not a virt-manager developer, but since I wrote libvirt part of the
feature here are my thoughts. Do whatever you want with it O:-)

I think virt-manager should support only managed mode, if anything. The
unmanaged mode is mostly for testing and requires some setting up on
administrator side. It is not secure either - domain running under any
seclabel must be able to connect to pr-helper socket.

Managed mode spawns one pr-helper per domain, kills it automatically on
domain shutdown and labels the socket correctly.

Michal




More information about the virt-tools-list mailing list