[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/4] libbxl: add support for pvscsi, iteration 3



Port vscsi=[] and scsi-{attach,detach,list} commands from xend to libxl.

Changes between v2 and v3:
 - Adjust change for vscsiif.h
 - Support "naa.wwn:lun" notation in pvops kernel
 - Add example for pvops kernel using targetcli
   patch required for python-rtslib:
   http://article.gmane.org/gmane.linux.scsi.target.devel/8146
 - Use vdev variable in libxl_device_vscsi_parse

Initial attempt was sent a year ago:
http://lists.xenproject.org/archives/html/xen-devel/2014-04/msg03958.html
Most comments are addressed.

This version has been tested with SLES as backend and frontend.
This version has been tested with pvops as backend and SLES as frontend.


Please review. The first two changes could be applied independent from
the libxl changes.

Olaf

Olaf Hering (4):
  vscsiif.h: fix WWN notation for p-dev property
  docs: add vscsi to xenstore-paths.markdown
  docs: add pvscsi.txt
  libxl: add support for vscsi

 docs/misc/pvscsi.txt                 | 188 ++++++++++++++++++
 docs/misc/xenstore-paths.markdown    |  10 +
 tools/libxl/Makefile                 |   1 +
 tools/libxl/libxl.c                  | 172 ++++++++++++++++
 tools/libxl/libxl.h                  |  29 +++
 tools/libxl/libxl_create.c           |   1 +
 tools/libxl/libxl_device.c           |   2 +
 tools/libxl/libxl_freebsd.c          |   8 +
 tools/libxl/libxl_internal.h         |  12 ++
 tools/libxl/libxl_linux.c            |  60 ++++++
 tools/libxl/libxl_netbsd.c           |   8 +
 tools/libxl/libxl_types.idl          |  49 +++++
 tools/libxl/libxl_types_internal.idl |   1 +
 tools/libxl/libxl_vscsi.c            | 375 +++++++++++++++++++++++++++++++++++
 tools/libxl/xl.h                     |   3 +
 tools/libxl/xl_cmdimpl.c             | 249 ++++++++++++++++++++++-
 tools/libxl/xl_cmdtable.c            |  15 ++
 xen/include/public/io/vscsiif.h      |   2 +-
 18 files changed, 1183 insertions(+), 2 deletions(-)
 create mode 100644 docs/misc/pvscsi.txt
 create mode 100644 tools/libxl/libxl_vscsi.c


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.