From: Wei Liu Subject: Re: [PATCH v3 3/4] docs: add pvscsi.txt Date: Fri, 6 Mar 2015 13:55:49 +0000 Message-ID: <20150306135549.GT12103@zion.uk.xensource.com> References: <1425635156-2357-1-git-send-email-olaf@aepfle.de> <1425635156-2357-4-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1425635156-2357-4-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Keir Fraser , Ian Campbell , Tim Deegan , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , wei.liu2@citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, Mar 06, 2015 at 10:45:55AM +0100, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Jan Beulich > Cc: Keir Fraser > Cc: Tim Deegan > --- > docs/misc/pvscsi.txt | 188 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 188 insertions(+) > > diff --git a/docs/misc/pvscsi.txt b/docs/misc/pvscsi.txt > new file mode 100644 > index 0000000..988a12b > --- /dev/null > +++ b/docs/misc/pvscsi.txt > @@ -0,0 +1,188 @@ > +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > +PVSCSI > + > +== Overview == > + > +PVSCSI allows to assing a "physical" SCSI device from dom0 to a domU. The device > +is not limited to be a native SCSI device. Everything visible as SCSI device in > +dom0 can be used. Currently PVSCSI is only available in Linux dom0 and domU. > + > +== TODO === > + > +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. > + > +How to handle FIXME in libxl_retrieve_domain_configuration? > + - "MERGE(vscsi, vscsis, COMPARE_DEVID, {});", when does this code run? > + I don't think this kind of information that relates to libxl internal belongs here. Anyway, to answer you question. libxl_retrieve_domain_configuration is called by xl when you do migration / detailed domain configuration listing etc. I think the comment above MERGE macro states what it does and how to use it. Is there anything that's not clear to you? Wei.