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

Re: [Xen-devel] [PATCH 3/4] docs: add pvscsi.txt



On 03/02/2015 04:14 PM, Olaf Hering wrote:
On Mon, Mar 02, Juergen Gross wrote:

On 03/02/2015 11:16 AM, Olaf Hering wrote:
+How to do live migration?
+ - pdev will likely be evaluated again on the target host if it came from
+   domU.cfg. But what about pdev from 'xl scsi-attach pdev vdev'? Its required
+   to adjust h:c:t:l on the target host.
Use WWN notation? :-)

This was one of the reason the backend should support it.

How does it handle WWN internally, given that
scsiback_add_translation_entry does not seem to understand it?

It does understand it. WWN:l is okay. A pscsi device can have multiple
LUNs. The WWN is per target, not per LUN. The target infrastructure
allows far more complex configurations (e.g. specific LUN mappings,
access control for each LUN).


+Implement checks for duplicate pdev assignments?
+ - Not sure if SCSI devices can be shared. Will the state be consistent during
+   concurrent access? Should the host admin assume cooperative access from
+   multiple domUs?
SCSI does support device sharing. That's the reason for the existence of
SCSI commands like "reserve" and "release".

In this case the code which checks pdev usage in
libxl_device_vscsi_get_host can just be removed.

Hmm, maybe issuing a warning would be a sensible thing to do?


Juergen


_______________________________________________
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®.